-   Linux - Networking (
-   -   NFS hangs Nautilus (

TheCoffeeMug 12-29-2002 11:41 AM

NFS hangs Nautilus
If a remote NFS share is mounted on my local machine, and the computer that the share is located on is turned off, then my machine hangs. It is not possible to enter the folder were the share is mounted without the program hanging, that be a console or Nautilus.

I have the same problem with samba shares.

Is there a general way to solve this problem?

Thanks in advance

mlp68 12-29-2002 01:29 PM

Is it possible that you have the "hard" option set for the NFS mount? If so, there is no timeout, and any process wishing to access the mounted file system just hangs and waits until the file system is back again. And if a directory on that disk happens to be in your process' path, the process will just hang.

Set the soft option, and perhaps a timeout value in fstab (be careful, on a busy network you don't want the timeout to be too small)

Code:  /share nfs rw,soft,bg,timout=10,nfsvers=3        0 0
Hope it helps,

All times are GMT -5. The time now is 11:13 AM.