zpool-get
—
retrieve properties of ZFS storage pools
zpool |
get [-Hp ]
[-o
field[,field]…]
all|property[,property]…
[pool]… |
zpool |
set
property=value
pool |
zpool
get
[-Hp
] [-o
field[,field]…]
all|property[,property]…
[pool]…
- Retrieves the given list of properties (or all properties if
all is used) for the specified storage pool(s). These
properties are displayed with the following fields:
- name
- Name of storage pool.
- property
- Property name.
- value
- Property value.
- source
- Property source, either default
or local.
See the
zpoolprops(7)
manual page for more information on the available pool properties.
-H
- Scripted mode. Do not display headers, and separate fields by a single
tab instead of arbitrary space.
-o
field
- A comma-separated list of columns to display, defaults to
name,property,value,source.
-p
- Display numbers in parsable (exact) values.
zpool
set
property=value
pool
- Sets the given property on the specified pool. See the
zpoolprops(7)
manual page for more information on what properties can be set and
acceptable values.