DOKK / manpages / debian 11 / zfsutils-linux / zfs-share.8.en
ZFS-SHARE(8) System Manager's Manual ZFS-SHARE(8)

zfs-shareShares and unshares available ZFS filesystems.

zfs share -a | filesystem

zfs unshare -a | filesystem|mountpoint

zfs share -a | filesystem
Shares available ZFS file systems.
Share all available ZFS file systems. Invoked automatically as part of the boot process.
filesystem
Share the specified filesystem according to the sharenfs and sharesmb properties. File systems are shared when the sharenfs or sharesmb property is set.
zfs unshare -a | filesystem|mountpoint
Unshares currently shared ZFS file systems.
Unshare all available ZFS file systems. Invoked automatically as part of the shutdown process.
filesystem|mountpoint
Unshare the specified filesystem. The command can also be given a path to a ZFS file system shared on the system.

exports(5), smb.conf(5), zfsprops(8)

June 30, 2019 Linux