使用 NFS 时当远程文件夹被删除后的问题处理:Stale NFS file handle 0

两台服务器互为 NFS 的服务器和客户端。

当在服务器上删除被客户端 mount 的目录后,客户端会显示错误: Stale NFS file handle

无法 umount ,提示 device is busy

使用 umount -l xxx 强制卸载成功

但再次使用 mount 安装的时候,命令执行无响应,也没有任何错误提示信息。

于是,在服务器端重启 nfs 服务进程后,客户端立即 mount 成功。

猜你喜欢

转载自blog.csdn.net/sinat_38295832/article/details/82821172
nfs