Removing a ZFS Share
You can unshare a file system share by setting the share.nfs
or share.smb
property to off. For example:
$ zfs set share.nfs=off tank/multifs $ grep multifs /etc/dfs/sharetab $
You can permanently remove a named share by using the zfs destroy
command. For example:
$ zfs destroy tank/home/abc%a1share