[OpenIndiana-discuss] NFS

Edward Ned Harvey (openindiana) openindiana at nedharvey.com
Thu Jan 30 03:01:56 UTC 2014


At home, I have oi_151a7 and ESXi 5.1.
I wrote down precisely how to share NFS, and mount from the ESXi machine.
                sudo zfs set sharenfs=rw=@192.168.5.5/32,root=@192.168.5.5/32 mypool/somefilesystem

I recall it was a pain to get the syntax correct, especially thanks to some innacuracy in the man page.  But I got it.

Now at work I have oi_151a9 and ESXi 5.5.  I also have oi_151a7 and some ubuntu 12.04 servers and centos 5 & 6 servers.

On the oi_151a9 machine, I do the precise above sharenfs command.  Then the oi_151a7 machine can mount, but both centos, ubuntu, and ESXi clients all fail to mount.  So I think, "ah-hah!"  That sounds like a NFS v3 conflict with v4!

So then I do this:
                sudo sharectl set -p client_versmax=3 nfs
sudo sharectl set -p server_versmax=3 nfs
sudo svcadm refresh  svc:/network/nfs/server:default

Now, *none* of the clients can mount.  So I put it back to 4, and the openindiana client can mount.

Is NFS v3 simply broken in the latest OI?

When I give the "-v" option to mount, I get nothing useful.
There is also nothing useful in the nfsd logs.

The only thing I have left to test...  I could try sharing NFS from the *old* oi server, and see if the new ESXi is able to mount it.  If ESXi is able to mount the old one, and not able to mount the new one, that would be a pretty solid indicator v3 is broken in 151_a9.


More information about the OpenIndiana-discuss mailing list