Every time I try to mount a NFS share I get this:
>> mount -t nfs gitlab-replica-storage.blah.com:/export/registry-gitlab-prod-data-vol /mnt/test
mount.nfs: Stale file handle
The problem is that I cannot umount, as it says:
>> umount -f -l /mnt/test
umount: /mnt/test: not mounted
I tried checking if any process was using the mountpoint, but that is not the case.
Any other alternative to troubleshoot this?
As clarification:
- I can mount it in another machine.
- I cannot mount it in another mountpoint on the affected machine.
Best Answer
Original link about ESTALE: ESTALE LWN .
I suggest to you check files and directories on NFS server or say to admin of NFS server to do this.
Maybe some old pagecache, inode, dentry cache entries are exists on NFS server. Please clean it: