nfs客户端报错解决Stale file handle

时间:2024-01-16 08:33:02

NFS故障:

场景:客户端挂载是好的.服务端磁盘满了,重新给挂了一快.客户端df -h nfs挂载消失.

客户端报错:Stale file handle

现象如下:

[root@test63-spring-node1 web]# ls

ls: cannot access share: Stale file handle

share

[root@test63-spring-node1 web]# ll

ls: cannot access share: Stale file handle

total 0

d????????? ? ? ? ? ? share

 

解决:

umount -f /directory

后重新挂在

/bin/mount -t nfs 192.168.6.31:/web/share /web/share/