Resource Type: zfs
NOTE: This page was generated from the Puppet source code on 2018-08-28 06:48:02 -0700 zfs —–
Description
Manage zfs. Create destroy and set properties on zfs instances.
Autorequires: If Puppet is managing the zpool at the root of this zfs instance, the zfs resource will autorequire it. If Puppet is managing any parent zfs instances, the zfs resource will autorequire them.
Attributes
zfs { 'resource title':
name => # (namevar) The full name for this filesystem (including the
ensure => # The basic property that the resource should be...
aclinherit => # The aclinherit property. Valid values are...
aclmode => # The aclmode property. Valid values are...
acltype => # The acltype propery. Valid values are 'noacl...
atime => # The atime property. Valid values are `on`...
canmount => # The canmount property. Valid values are `on`...
checksum => # The checksum property. Valid values are `on`...
compression => # The compression property. Valid values are `on`,
copies => # The copies property. Valid values are `1`, `2`...
dedup => # The dedup property. Valid values are `on`...
devices => # The devices property. Valid values are `on`...
exec => # The exec property. Valid values are `on`...
logbias => # The logbias property. Valid values are...
mountpoint => # The mountpoint property. Valid values are...
nbmand => # The nbmand property. Valid values are `on`...
primarycache => # The primarycache property. Valid values are...
provider => # The specific backend to use for this `zfs...
quota => # The quota property. Valid values are `<size>`...
readonly => # The readonly property. Valid values are `on`...
recordsize => # The recordsize property. Valid values are powers
refquota => # The refquota property. Valid values are...
refreservation => # The refreservation property. Valid values are...
reservation => # The reservation property. Valid values are...
secondarycache => # The secondarycache property. Valid values are...
setuid => # The setuid property. Valid values are `on`...
shareiscsi => # The shareiscsi property. Valid values are `on`...
sharenfs => # The sharenfs property. Valid values are `on`...
sharesmb => # The sharesmb property. Valid values are `on`...
snapdir => # The snapdir property. Valid values are `hidden`,
version => # The version property. Valid values are `1`, `2`,
volsize => # The volsize property. Valid values are...
vscan => # The vscan property. Valid values are `on`...
xattr => # The xattr property. Valid values are `on`...
zoned => # The zoned property. Valid values are `on`...
# ...plus any applicable metaparameters.
}
name
(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)
The full name for this filesystem (including the zpool).
ensure
(Property: This attribute represents concrete state on the target system.)
The basic property that the resource should be in.
Default: present
Allowed values:
present
absent
aclinherit
(Property: This attribute represents concrete state on the target system.)
The aclinherit property.
Allowed values:
discard
noallow
restricted
passthrough
passthrough-x
aclmode
(Property: This attribute represents concrete state on the target system.)
The aclmode property.
Allowed values:
discard
groupmask
passthrough
acltype
(Property: This attribute represents concrete state on the target system.)
The acltype propery.
Allowed values:
- ‘noacl’
- ‘posixacl’
Only supported on Linux.
atime
(Property: This attribute represents concrete state on the target system.)
The atime property.
Allowed values:
on
off
canmount
(Property: This attribute represents concrete state on the target system.)
The canmount property.
Allowed values:
on
off
noauto
checksum
(Property: This attribute represents concrete state on the target system.)
The checksum property.
Allowed values:
on
off
fletcher2
fletcher4
sha256
compression
(Property: This attribute represents concrete state on the target system.)
The compression property.
Allowed values:
on
off
lzjb
gzip
gzip-[1-9]
zle
copies
(Property: This attribute represents concrete state on the target system.)
The copies property.
Allowed values:
1
2
3
dedup
(Property: This attribute represents concrete state on the target system.)
The dedup property.
Allowed values:
on
off
devices
(Property: This attribute represents concrete state on the target system.)
The devices property.
Allowed values:
on
off
exec
(Property: This attribute represents concrete state on the target system.)
The exec property.
Allowed values:
on
off
logbias
(Property: This attribute represents concrete state on the target system.)
The logbias property.
Allowed values:
latency
throughput
mountpoint
(Property: This attribute represents concrete state on the target system.)
The mountpoint property.
Allowed values:
<path>
legacy
none
nbmand
(Property: This attribute represents concrete state on the target system.)
The nbmand property.
Allowed values:
on
off
primarycache
(Property: This attribute represents concrete state on the target system.)
The primarycache property.
Allowed values:
all
none
metadata
provider
The specific backend to use for this zfs
resource. You will seldom need to specify this — Puppet will usually
discover the appropriate provider for your platform.
Available providers are:
quota
(Property: This attribute represents concrete state on the target system.)
The quota property.
Allowed values:
<size>
none
readonly
(Property: This attribute represents concrete state on the target system.)
The readonly property.
Allowed values:
on
off
recordsize
(Property: This attribute represents concrete state on the target system.)
The recordsize property.
Allowed values:
- powers of two between 512 and 128k
refquota
(Property: This attribute represents concrete state on the target system.)
The refquota property.
Allowed values:
<size>
none
refreservation
(Property: This attribute represents concrete state on the target system.)
The refreservation property.
Allowed values:
<size>
none
reservation
(Property: This attribute represents concrete state on the target system.)
The reservation property.
Allowed values:
<size>
none
secondarycache
(Property: This attribute represents concrete state on the target system.)
The secondarycache property.
Allowed values:
all
none
metadata
setuid
(Property: This attribute represents concrete state on the target system.)
The setuid property.
Allowed values:
on
off
shareiscsi
(Property: This attribute represents concrete state on the target system.)
The shareiscsi property.
Allowed values:
on
off
type=<type>
sharenfs
(Property: This attribute represents concrete state on the target system.)
The sharenfs property.
Allowed values:
on
off
- share(1M) options
sharesmb
(Property: This attribute represents concrete state on the target system.)
The sharesmb property.
Allowed values:
on
off
- sharemgr(1M) options
snapdir
(Property: This attribute represents concrete state on the target system.)
The snapdir property.
Allowed values:
hidden
visible
version
(Property: This attribute represents concrete state on the target system.)
The version property.
Allowed values:
1
2
3
4
current
volsize
(Property: This attribute represents concrete state on the target system.)
The volsize property.
Allowed values:
<size>
vscan
(Property: This attribute represents concrete state on the target system.)
The vscan property.
Allowed values:
on
off
xattr
(Property: This attribute represents concrete state on the target system.)
The xattr property.
Allowed values:
on
off
zoned
(Property: This attribute represents concrete state on the target system.)
The zoned property.
Allowed values:
on
off
Providers
zfs
Provider for zfs.
- Required binaries:
zfs
NOTE: This page was generated from the Puppet source code on 2018-08-28 06:48:02 -0700