Hi all
I think I'm well out of my depth on this one...
I have a zfs-based server (8-STABLE) that is working fine with NFSv3, using:
Now, I would like to try NFSv4 so as to get round some problems with locking. Trouble is I can't find clear info on how to modify the scheme above to do this. I've done the following groundwork:
/etc/rc.conf.local:
but I can't work out the appropriate zfs sharenfs options. In fact I don't even know if that is even applicable for nfsv4 or whether I should be doing something completely different.
Am I on to a loser here or can an NFS guru cast any light?
Much appreciated!
sim
I think I'm well out of my depth on this one...
I have a zfs-based server (8-STABLE) that is working fine with NFSv3, using:
Code:
zfs sharenfs="-maproot=root -alldirs -network 192.168.0.1 -mask 255.255.255.0" zroot/data
Now, I would like to try NFSv4 so as to get round some problems with locking. Trouble is I can't find clear info on how to modify the scheme above to do this. I've done the following groundwork:
/etc/rc.conf.local:
Code:
#NFSv4:
nfs_server_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfsd_flags="-t -n6 -e -h192.168.0.51"
mountd_enable="YES"
mountd_flags="-r -p4002 -e -h192.168.0.51"
rpcbind_flags="-h192.168.0.51"
but I can't work out the appropriate zfs sharenfs options. In fact I don't even know if that is even applicable for nfsv4 or whether I should be doing something completely different.
Am I on to a loser here or can an NFS guru cast any light?
Much appreciated!
sim