[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wie NFS-Dateisystem durch User mounten?



On Oct 04 2005 Dirk Weber <dirk-weber@web.de> wrote:

> Hi,
>
> was muss ich wie einstellen, wenn ich ein NFS-Dateisystem von einem
> einfachen User mounten lassen will?
>
> Die Konstellation:
>
> Zwei Rechner unter Linux: alfons unter Sarge, robert unter SuSE 9.2
> robert lässt den Export von /home/otto nach alfons zu.
> Der User Otto will robert:/home/otto mounten.
> Automatisches Mounten bei Systemstart von alfons soll nicht
> eingerichtet werden, da robert nicht 24/7 läuft und dann das
> Hochfahren von alfons ewig und drei Tage dauert (das Problem besteht
> für mehrere zu mountende NFS-Dateisysteme)
>
> Welche Infos fehlen noch? Aus den manpages zu mount bin ich nicht
> schlau geworden.
>

Für den Job wird üblicherweise automount/autofs verwendet:

# apt-cache show autofs   
Package: autofs
Priority: extra
Section: utils
Installed-Size: 444
Maintainer: Steinar H. Gunderson <sesse@debian.org>
Architecture: i386
Version: 4.1.4-7
Depends: libc6 (>= 2.3.2.ds1-21), ucf
Recommends: nfs-common
Conflicts: samba (<< 2.0.6-1)
Filename: pool/main/a/autofs/autofs_4.1.4-7_i386.deb
Size: 105646
MD5sum: 2d4bfae665be71df9b5b50da9ac754e9
Description: kernel-based automounter for Linux
 Autofs controls the operation of the automount daemons. The
 automount daemons automatically mount filesystems when they
 are used and unmount them after a period of inactivity. This
 is done based on a set of pre-configured maps.
 .
 The kernel automounter implements an almost complete SunOS
 style automounter under Linux. Automounter version 4
 (autofs4) has to be enabled when compiling the kernel.
 Debian packaged kernels have it enabled.
Tag: interface::daemon

Hth -- Peter

-- 
Peter.Weiss@consol.de                         ConSol* Software GmbH
Phone  +49 89 45841-100                       Consulting & Solutions
Mobile +49 177 6040121                        Franziskanerstr. 38
http://www.consol.de                          D-81669 München



Reply to: