[linux-l] autofs und `ls`
Jan Krueger
jk at microgalaxy.net
Do Sep 4 16:33:09 CEST 2003
On Thursday 04 September 2003 12:02, Stefan Rutzinger wrote:
> Hi,
>
> ich hab in /home die Homes von verschiedenen Nutzern von verschiedenen
> Rechner mit nfs und autofs zusammengelinkt (ln -s /autofs/nfspath
> /home/path). Manchmal sind die nfs Pfade nicht erreichbar (Rechner aus
> etc). Dann kann ich zwar als root ein `ls /home` machen, als normaler user
> aber bleibt `ls /home` oder `ls /home/nfspfad` in irgendeinen nicht
> vorhandenen Timeout stecken.
>
> Wie kann ich das beheben, root kanns ja auch.
root kanns, weil sein home nicht per nfs gemountet ist.
mount optionen welche vielleicht weiterhelfen (man mount, man 5 nfs):
hard The program accessing a file on a NFS mounted file system will
hang when the server crashes. The process cannot
be interrupted or killed unless you also specify intr. When the
NFS server is back online the program will con-
tinue undisturbed from where it was. This is probably what you
want.
soft This option allows the kernel to time out if the nfs server is
not responding for some time. The time can be
specified with timeo=time. This option might be useful if
your nfs server sometimes doesn't respond or will be
rebooted while some process tries to get a file from the server.
Usually it just causes lots of trouble.
Gruß
Jan
>
> MfG
> Stefan
>
> --
> PGP fingerprint: 39F5 9E68 CDDD DD2D 8C4E 4C45 42E1 1CC3 03D7 8B0E
> Full key available at: http://www.fs.tum.de/~rutzi/pgpkey.asc
Mehr Informationen über die Mailingliste linux-l