redwood Guru
Joined: 27 Jan 2006 Posts: 306
|
Posted: Tue Jan 08, 2008 5:18 pm Post subject: [SOLVED] Need help clearing stale NFS handle |
|
|
I had a power failure on my desktop, which mounts some nfs directories from some servers (protected by ups).
After rebooting and automatically repairing the filesystem, I am unable to run `/etc/init.d/nfsmount start` which is
stopped.
If I mount manually:
# mount -v -a -t nfs,nfs4
mount: localhost:/root/.snapshots already mounted on /mnt/backups
mount: deeds:/home/Shared already mounted on /media/Shared
mount: piii:/mnt/Z/tmp/Scans already mounted on /media/Scans
mount: trying 192.168.1.47 prog 100003 vers 3 prot tcp port 2049
mount: trying 192.168.1.47 prog 100005 vers 3 prot udp port 32839
mount.nfs: Stale NFS file handle
How do I clear the Stale NFS file handle?
I've unmount all shares from piii (192.168.1.47)
and then re-mounted those entries in /etc/fstab
I've also rebooted the client desktop, but the stale handle isn't cleared.
Thanks.
-----------
[SOLVED]
I ended up rebooting both the nfs server and client which fixed the problem, but I lost my files that were being written to the nfs mounted filesystem (I guess they weren't flushed) |
|