zfs-share8
Share and unshare zfs filesystems
Usage
zfs {share
[-l]
-a | filesystem}
zfs {unshare
-a | filesystem | mountpoint}
Overview
-
zfsshare[-l]-a|filesystem Shares available ZFS file systems.-
-l -
Load keys for encrypted filesystems as they are being mounted. This is equivalent to executing
zfsload-keyon each encryption root before mounting it. Note that if a filesystem haskeylocation=prompt, this will cause the terminal to interactively block after asking for the key. -
-a -
Share all available ZFS file systems. Invoked automatically as part of the boot process.
- filesystem
-
Share the specified filesystem according to the
sharenfsandsharesmbproperties. File systems are shared when thesharenfsorsharesmbproperty is set.
-
-
zfsunshare-a|filesystem|mountpoint Unshares currently shared ZFS file systems.-
-a -
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.
-
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.
-l since Debian 12 (Bookworm).