ZPOOL-GET(8) System Manager's Manual ZPOOL-GET(8)

# [NAME](#NAME)

`zpool-get` — retrieve properties of ZFS storage pools

# [SYNOPSIS](#SYNOPSIS)

`zpool` `get` \[`-Hp`] \[`-j` \[`--json-int, --json-pool-key-guid`]] \[`-o` `field`\[,`field`]…] **all**|`property`\[,`property`]… \[`pool`]…

`zpool` `get` \[`-Hp`] \[`-j` \[`--json-int`]] \[`-o` `field`\[,`field`]…] **all**|`property`\[,`property`]… `pool` \[**all-vdevs**|`vdev`]…

`zpool` `set` `property`=`value` `pool`

`zpool` `set` `property`=`value` `pool` `vdev`

# [DESCRIPTION](#DESCRIPTION)

`zpool` `get` \[`-Hp`] \[`-j` \[`--json-int, --json-pool-key-guid`]] \[`-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)

Name of storage pool.

[**property**](#property)

Property name.

[**value**](#value)

Property value.

[**source**](#source)

Property source, either **default** or **local**.

See the [zpoolprops(7)](/man/os/zfs/zpoolprops.7) manual page for more information on the available pool properties.

[`-j`](#j), `--json` \[`--json-int, --json-pool-key-guid`]

Display the list of properties in JSON format. Specify **--json-int** to display the numbers in integer format instead of strings in JSON output. Specify [**--json-pool-key-guid**](#-json-pool-key-guid) to set pool GUID as key for pool objects instead of pool name.

[`-H`](#H)

Scripted mode. Do not display headers, and separate fields by a single tab instead of arbitrary space.

[`-o`](#o) `field`

A comma-separated list of columns to display, defaults to **name**,**property**,**value**,**source**.

[`-p`](#p)

Display numbers in parsable (exact) values.

`zpool` `get` \[`-j` \[`--json-int`]] \[`-Hp`] \[`-o` `field`\[,`field`]…] **all**|`property`\[,`property`]… `pool` \[**all-vdevs**|`vdev`]…

Retrieves the given list of properties (or all properties if **all** is used) for the specified vdevs (or all vdevs if **all-vdevs** is used) in the specified pool. These properties are displayed with the following fields:

[**name**](#name~2)

Name of vdev.

[**property**](#property~2)

Property name.

[**value**](#value~2)

Property value.

[**source**](#source~2)

Property source, either **default** or **local**.

See the [vdevprops(7)](/man/os/zfs/vdevprops.7) manual page for more information on the available pool properties.

[`-j`](#j~2), `--json` \[`--json-int`]

Display the list of properties in JSON format. Specify **--json-int** to display the numbers in integer format instead of strings in JSON output.

[`-H`](#H~2)

Scripted mode. Do not display headers, and separate fields by a single tab instead of arbitrary space.

[`-o`](#o~2) `field`

A comma-separated list of columns to display, defaults to **name**,**property**,**value**,**source**.

[`-p`](#p~2)

Display numbers in parsable (exact) values.

`zpool` `set` `property`=`value` `pool`

Sets the given property on the specified pool. See the [zpoolprops(7)](/man/os/zfs/zpoolprops.7) manual page for more information on what properties can be set and acceptable values.

`zpool` `set` `property`=`value` `pool` `vdev`

Sets the given property on the specified vdev in the specified pool. See the [vdevprops(7)](/man/os/zfs/vdevprops.7) manual page for more information on what properties can be set and acceptable values.

# [SEE ALSO](#SEE_ALSO)

[vdevprops(7)](/man/os/zfs/vdevprops.7), [zpool-features(7)](/man/os/zfs/zpool-features.7), [zpoolprops(7)](/man/os/zfs/zpoolprops.7), [zpool-list(8)](/man/os/zfs/zpool-list.8)

October 12, 2024 OpenZFS

---

Document: zpool-set(8) from zfs 2.4.4-r3 (Chainguard OS)
Source: https://github.com/openzfs/zfs
