MacOS無法掛載NFS Operation not permitted錯誤解決辦法
新裝的Openfiler開啟nfs之后,用Macbook的圖形界面通過
Finder-->前往-->連接服務器
無法連接。
先在服務器上自己掛自己試了一下,沒有問題,說明問題可能在Macbook客戶端上。
在Macbook上打開終端:
sh-3.2# showmount -e 10.0.0.55Exports list on 10.0.0.55:/home 10.0.0.0/24sh-3.2# mount -t nfs 10.0.0.55:/nfsdata /homemount_nfs: /home: Operation not permitted#使用保留端口再試一下sh-3.2# mount -o resvport 10.0.0.55:/nfsdata tttsh-3.2# ls ttt/Documents ebook images music#可以了
也懶得想為什么了,直接在服務器上的/etc/exportfs文件中加入insecure參數
例如:
/nfsdata 10.0.0.0/24(rw,root_squash,no_all_squash,sync,insecure)
感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!
新聞熱點
疑難解答