1. 程式人生 > >ubuntu nfs常見錯誤解決方法

ubuntu nfs常見錯誤解決方法

1.出現問題: reason given by server: Permission denied 解決: 伺服器端啟動一定要sudo啟動,不然啟動失敗,服務拒絕

2.出現問題: svc: failed to register lockdv1 RPC service (errno 111). lockd_up: makesock failed, error=-111 mount: mounting 192.168.1.101:/home/share on /mnt/hosts failed: Connection refused 則改成: mount -t nfs -o nolock 192.168.1.101:/home/share /mnt/hosts

3.出現問題: mount: mounting 192.168.1.101:/home/share on /mnt/hosts failed: Device or resource busy 解決: mount上之後在進行mount命令會出現此提示,裝置正在執行,不用再次mount 如果想再次mount可以先umount /mnt/hosts

4. 發現問題?nfs:server is not responding,still trying 原因分析:NFS 的預設傳輸協議是 UDP,而PC機與嵌入式系統通過UPD互動時就會出現嚴重的網絡卡丟包現象。 解決方法:在客戶端改用TCP協議,使用下面的命令, #mount -o tcp 192.168.0.100:/usr/myqt /mnt -o nolock

5、提示:mount to NFS server '172.20.67.203' failed: server is down. 解決方案:可能是NFS伺服器的防火牆有問題; 6、提示:mount: RPC: Timed out 解決方案:由於RPC協議沒執行;啟動portmap服務; 也有可能是防火牆問題;Server/Client均有可能。

---------------------

本文來自 believe209 的CSDN 部落格 ,全文地址請點選:https://blog.csdn.net/wangzhen209/article/details/46802681?utm_source=copy