ZFS NFS Export

Activate NFS on the pool:

zfs set sharenfs=on

Now restrict access by IP range:

zfs sharenfs=”-maproot=root -alldirs -network 10.10.40.0 -mask 255.255.255.0″

Verify using showmount:

nas1# showmount -e
Exports list on localhost:
/nfs/datastore 10.10.40.0
/nfs 10.10.40.0

VMware Virtual Machine Hosting