NFS故障:
问题背景:
客户端挂载是好的.服务端磁盘满了,重新给挂了一快.客户端df -h 发现nfs挂载消失.
查看目录客户端报错:Stale file handle
现象如下:
[root@n1 web]# ls
ls: cannot access share: Stale file handle
share [root@n1 web]# ll
ls: cannot access share: Stale file handle
total 0
d????????? ? ? ? ? ? share
重新挂载解决:
umount -f /directory #先卸载,后重新挂载
/bin/mount -t nfs 192.168.2.2:/data /data