Manages ZFS file systems on Solaris and FreeBSD. Can manage file systems, volumes and snapshots. See zfs(1M) for more information about the properties.

Options

namedescriptionrequiredchoices
name File system, snapshot or volume name e.g. C(rpool/myfs) true
state Whether to create (C(present)), or remove (C(absent)) a file system, snapshot or volume. true
  • present
  • absent
aclinherit The aclinherit property.
  • discard
  • noallowrestrictedpassthroughpassthrough-x
aclmode The aclmode property.
  • discard
  • groupmaskpassthrough
atime The atime property.
  • on
  • off
canmount The canmount property.
  • on
  • offnoauto
casesensitivity The casesensitivity property.
  • sensitive
  • insensitivemixed
checksum The checksum property.
  • on
  • offfletcher2fletcher4sha256
compression The compression property.
  • on
  • offlzjbgzipgzip-1gzip-2gzip-3gzip-4gzip-5gzip-6gzip-7gzip-8gzip-9lz4zle
copies The copies property.
  • 1
  • 23
dedup The dedup property.
  • on
  • off
devices The devices property.
  • on
  • off
exec The exec property.
  • on
  • off
jailed The jailed property.
  • on
  • off
logbias The logbias property.
  • latency
  • throughput
mountpoint The mountpoint property.
nbmand The nbmand property.
  • on
  • off
normalization The normalization property.
  • none
  • formCformDformKCformKD
origin Name of the snapshot to clone
primarycache The primarycache property.
  • all
  • nonemetadata
quota The quota property.
readonly The readonly property.
  • on
  • off
recordsize The recordsize property.
refquota The refquota property.
refreservation The refreservation property.
reservation The reservation property.
secondarycache The secondarycache property.
  • all
  • nonemetadata
setuid The setuid property.
  • on
  • off
shareiscsi The shareiscsi property.
  • on
  • off
sharenfs The sharenfs property.
sharesmb The sharesmb property.
snapdir The snapdir property.
  • hidden
  • visible
sync The sync property.
  • standard
  • alwaysdisabled
utf8only The utf8only property.
  • on
  • off
volsize The volsize property.
volblocksize The volblocksize property.
vscan The vscan property.
  • on
  • off
xattr The xattr property.
  • on
  • off
zoned The zoned property.
  • on
  • off

Author

Johan Wiren (@johanwiren)