對于nfs文件不能共享,提示Stale file handle的情況,
可能在此之前,這個目錄已經有掛載,解決辦法為重新掛載:
umount /def mount -t nfs 10.17.11.120:/home/abc /def
檢驗方法:
cd /def 進入掛載點,查看里面文件與nfs是否一致 ls
對于nfs文件不能共享,提示Stale file handle的情況,
可能在此之前,這個目錄已經有掛載,解決辦法為重新掛載:
umount /def mount -t nfs 10.17.11.120:/home/abc /def
檢驗方法:
cd /def 進入掛載點,查看里面文件與nfs是否一致 ls