我是靠谱客的博主 清新蓝天,这篇文章主要介绍MacOS无法挂载NFS Operation not permitted错误解决办法,现在分享给大家,希望可以做个参考。

MacOS无法挂载NFS Operation not permitted错误解决办法

新装的Openfiler开启nfs之后,用Macbook的图形界面通过

Finder-->前往-->连接服务器

无法连接。

先在服务器上自己挂自己试了一下,没有问题,说明问题可能在Macbook客户端上。

在Macbook上打开终端:

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sh-3.2# showmount -e 10.0.0.55 Exports list on 10.0.0.55: /home 10.0.0.0/24 sh-3.2# mount -t nfs 10.0.0.55:/nfsdata /home mount_nfs: /home: Operation not permitted #使用保留端口再试一下 sh-3.2# mount -o resvport 10.0.0.55:/nfsdata ttt sh-3.2# ls ttt/ Documents ebook images music #可以了

也懒得想为什么了,直接在服务器上的/etc/exportfs文件中加入insecure参数

例如:

复制代码
1
/nfsdata 10.0.0.0/24(rw,root_squash,no_all_squash,sync,insecure)

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

最后

以上就是清新蓝天最近收集整理的关于MacOS无法挂载NFS Operation not permitted错误解决办法的全部内容,更多相关MacOS无法挂载NFS内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(302)

评论列表共有 0 条评论

立即
投稿
返回
顶部