Setup FreeBSD NFSv3 with ZFS
Configuration of NFSv3 with ZFS is fairly simple.
Server configuration
Enable (Persist) Services:
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
Start Services:
service nfsd start
service lockd start
service statd start
ZFS
Share tank/share
dateset for 10.0.0.0/24 network:
zfs set mountpoint="maproot=root,sec=sys,alldirs,network=10.0.0.0/24" tank/share
zfs share tank/share