ls: cannot access '/cephfs': Stale file handle
I have two autofs entries that mount the same cephfs file system to two different mountpoints. Accessing the first of the two fails with 'stale file handle'. The second works normally. Other than the name of the mount point, the lines in autofs are identical. No amount of 'umount -f' or restarting autofs resolves it. Any ideas?
On Wed, 17 May 2023 16:52:28 -0500, Harry G Coin <hgcoin@gmail.com> said:
I have two autofs entries that mount the same cephfs file system to two different mountpoints. Accessing the first of the two fails with 'stale file handle'. The second works normally. [...]
Something pretty close to that works for me... I would check the related 'dmesg' lines. Also 'grep cephfs /proc/mounts' to double check the actual mount lines. Note: mountpoints just under '/' as in '/cephfs' have some downsides: http://www.sabi.co.uk/blog/23-one.html?230123#230123 Note: give the above I would anyhow mount the CephFS instance once to a directory like '/mnt/cephfs' once and use two symlinks to it (or 'bind' mounts if not under '/').
participants (2)
-
Harry G Coin
-
pg@ceph.list.sabi.co.UK