Can't run mount_nfs command line with nfsv4 option?
Using "Connect to Server", I can mount a partition an nfs partition using the following:
nfs://vers=4,xserver01/Volumes/EXPORT
Checking using nfsstat -m /Volumes/EXPORT I get the following:
......
File system locations: | |
/Volumes/EXPORT @ vers=4 (xserver01) (10.0.x.x) |
That works great.... but I can't achieve the same results via commandline.
I've created a directory in "/" to mount partitions manually named mnt and then created "/mnt/EXPORT" to mount the partition....
When I run a mount_nfs command with limited options, this is the result:
mount_nfs -o proto=tcp,vers=4 xserver01:/Volumes/EXPORT /mnt/EXPORT
mount_nfs: can't mount /Volumes/EXPORT from xserver01 onto /mnt/PLAYBACK: Program version wrong
Changing the vers to "vers=4.0" gives me:
mount_nfs: illegal NFS version value -- 4.0
But mounts under nfsv3..., and the same with the older depreciated "4.0alpha" option.
While NFSv3 works, I am doing testing with regards to ACL's which v3 doesn't support properly.
xserver01 is Mavericks 10.9.5 running server... and I have tried mounting from both 10.9.5 and 10.10.4 clients with no luck via commandline, but using the "Connect to Server" from the menu works just fine.
Problem is, I need to have this scripted and also setup correctly under automount.
Any ideas?
Mac Pro, OS X Mavericks (10.9.5)