Mac OS挂载NFS

在Macbook上打开终端:

01 sh-3.2# showmount -e 10.0.0.55
02 Exports list on 10.0.0.55:
03 /home                               10.0.0.0/24
04 sh-3.2# mount -t nfs 10.0.0.55:/nfsdata /home
05 mount_nfs: /home: Operation not permitted
06  
07 #使用保留端口再试一下
08 sh-3.2# mount -o resvport 10.0.0.55:/nfsdata ttt
09 sh-3.2# ls ttt/
10 Documents   ebook       images      music
11 #可以了

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

1 /nfsdata 10.0.0.0/24(rw,root_squash,no_all_squash,sync,insecure)

搞定

真实操作:

Mac OS挂载NFS_第1张图片


参考:http://www.unixtutorial.org/2010/03/mounting-nfs-shares-on-mac-os-x/

转载请注明文章转自:良玉的博客 [ http://blog.uouo123.com ]

你可能感兴趣的:(mac,nfs)