appjail-zfs
—
Common ZFS commands for jails
appjail zfs clone-src |
jail dst
[args ...] |
appjail zfs clone-dst |
jail src
[args ...] |
appjail zfs create |
jail [args ...] |
appjail zfs destroy |
jail [args ...] |
appjail zfs get |
jail [args ...] |
appjail zfs inherit |
jail [args ...] |
appjail zfs list |
jail [args ...] |
appjail zfs recv |
jail [args ...] |
appjail zfs send |
jail [args ...] |
appjail zfs set |
jail [args ...] |
appjail zfs snapshot |
jail [args ...] |
The
appjail
zfs command provides a wrapper for common ZFS commands that operate
to or from a given jail.
clone-dst and
clone-src clone
a snapshot of a ZFS dataset. clone-dst will use the jail's
dataset as the destination and clone-src as the source.
create,
destroy,
get,
inherit,
list,
recv,
send,
set and
snapshot
will use the jail's dataset as the destination for their operations.
The appjail zfs
utility exits 0 on
success, and >0 if an error occurs. It may fail for one of the
following reasons:
- EX_USAGE:
The command was used incorrectly.
- EX_CONFIG:
ZFS is not enabled in your AppJail configuration file.