An NFS or a SMB share of a ZFS file system is created and then shared.
The following sharing features are provided on ZFS storage pool version 34:
The share.nfs property replaces the sharenfs property in previous releases to define and publish an NFS share.
The share.smb property replaces the sharesmb property in previous releases to define and publish an SMB share.
ZFS share administration is simplified by leveraging ZFS property inheritance. If you want to share the tank/home file system, use syntax similar to the following:
# zfs set share.nfs=on tank/home
The share.nfs property value is inherited to any descendent file systems.
# zfs create tank/home/userA # zfs create tank/home/userB