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