For some undetermined reason, NFS fails when my SmartOS NAS is rebooted. statd fails to start and nlockmgr also fails.
These commands seem to fix it:
svcadm restart svc:/network/rpc/bind:default
svcadm clear svc:/network/nfs/status:default
sharectl set -p lockd_servers=80 nfs
svcadm clear svc:/network/nfs/nlockmgr:default
This is one of those things that goes to show: it's easy if you know how.
I've got a zfs-based file server (currently using SmartOS) which uses NFSv4 shares. OSX can connect to NFS shares using "Connect To Server" from the finder" using a syntax like this:
I've previously tried to use on my mbp but have never managed to get it to work in a stable fashion.
Then, this evening, I stumbled across the solution:
That's all there is to it – I now have stable NFSv4 connections from my Mac!