错误 Stale NFS file handle 解决方法

本文最后更新于:2022年7月4日 上午

本文记录错误 Stale NFS file handle 的解决方法 。

问题复现

1
2
@ mount -o nfsvers=3 10.0.1.84:/home/share /mnt
mount.nfs: Stale NFS file handle

错误原因是客户端之前挂载的mnt目录在没有卸载的情况下,服务器侧把这个目录移除了,才会出现这样的错误提示。

解决方案

解决的办法就是在客户端 umount 一下,重新挂载就好。

1
2
umount /mnt
mount -t nfs /share /mnt

参考资料



文章链接:
https://www.zywvvd.com/notes/system/linux/commands/mount/Stale-NFS-file-handle/Stale-NFS-file-handle/


错误 Stale NFS file handle 解决方法
https://www.zywvvd.com/notes/system/linux/commands/mount/Stale-NFS-file-handle/Stale-NFS-file-handle/
作者
Yiwei Zhang
发布于
2021年4月8日
许可协议