How to force umount a NFS directory on Linux?

The NFS server is down. It is reported "Stale NFS file handle". I tried 'umount' and 'umount -f'. But neither succeeded.

# umount /mnt/store
umount.nfs: /mnt/store: Stale NFS file handle
# umount -f /mnt/store
umount.nfs: /mnt/store: Stale NFS file handle

How to force umounting the NFS without rebooting the Linux server?

asked Jul 24, 2015 by anonymous

1 Answer

Best answer

I usually have to reboot the server at this kind of situations. Normal reboot command may get the server stuck there and you have to get there to manually reset it using the server button.

This trick may be useful to hard reset the server:

answered Jul 24, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost