NFS Stale File Handle error and solution

Sometime NFS can result in to weird problems. For example NFS mounted directories sometimes contain stale file handles. If you run command such as ls or vi you will see an error:

[root@xx04ffmpeg211 ~]# mount -a
mount.nfs: Stale file handle
mount.nfs: Stale file handle
mount.nfs: Stale file handle

How do I fix this problem?

a) The best solution is to remount directory from the NFS client using mount command:


[root@acous04ffmpeg211 ~]# umount -f /mnt/richmedia…