How to force umount a NFS directory on Linux?
Posted on In QAThe 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?
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: http://ask.systutorials.com/370/force-linux-to-reboot