[PLUG] How to umount NFS hung mouts

Mark Martin mmartin at u.washington.edu
Wed Aug 13 10:33:02 UTC 2003


As far as I recall, it's not possible to unmount the filesystem gracefully.  
But there is a force option (-f) to the umount command that seems to be 
specifically intended for this purpose.  See the man page for umount for 
about as much information as I've given you here.  If you use this option, 
you will likely run the risk of file corruption or lost data. 

Whether or not processes that were accessing the mount will hang indefinitely 
depends on the options used when mounting the filesystem in the first place.  
See "Setting up an NFS Client" from the NFS HOWTO at

http://www.tldp.org/HOWTO/NFS-HOWTO/client.html#MOUNTOPTIONS

for information on mount options.  As far as I could tell during a cursory 
look, the HOWTO does not specifically address your original question.

Good luck,

Mark

On Wednesday 13 August 2003 09:40, Alex Daniloff wrote:
> Hello Linux folkz,
> Could somebody tell me please
> how to safely umount locally mounted NFS share
> when remote NFS server is down?
> Rebooting local machine is not an option in my case.
>
> Thank you in advance.
> Alex
-- 
---------------------------------------------------------------------
Mark A. Martin, Ph.D.
Applied Mathematics -- Software Development -- Systems Administration
Currently available for employment.
See http://www.amath.washington.edu/~mmartin/resume/ for details.
---------------------------------------------------------------------





More information about the PLUG mailing list