View previous topic :: View next topic |
Author |
Message |
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Wed May 12, 2004 5:37 am Post subject: hang on unmounting NFS mounts |
|
|
I have a few NFS mounts that are automatically mounted at boot time (they are in fstab). If my connection to the fileserver is lost and I try to shut down or reboot my desktop, the machine hangs at:
Unmounting network filesystems
Failed to unmount filesystems
I give it at least 5 minutes before I kill the power. I would have thought it would time out and give up before then. It's frustrating because the local filesystems were not cleanly unmounted because it got hung at unmounting the net filesystems.
from /var/log/messages:
May 11 01:10:27 mon init: Switching to runlevel: 0
May 11 01:11:17 mon rc-scripts: Failed to unmount filesystems
May 11 01:11:18 mon nfs: server zen not responding, still trying
May 11 01:48:38 mon syslog-ng[6465]: syslog-ng version 1.6.0rc3 starting
Obviously it did not succeed in unmounting the NFS mounts. Is there some way to specify a timeout so the system can proceed with shutdown if it can't unmount the network filesystems after a few minutes? |
|
Back to top |
|
|
kezzla Apprentice
Joined: 21 Aug 2003 Posts: 253 Location: Austin, TX
|
Posted: Wed May 12, 2004 6:08 am Post subject: |
|
|
Mount with the "soft" option so the mount times out.
You can also specify "timeo" for timeout value...I believe the value is in seconds...Been awhile since I tested it |
|
Back to top |
|
|
|