ZPOOL-GET(8)
β¨ ZPOOL-GET β bestie edition π
okay so this is zpool-get from section 8 of the System Manager's Manual, and it's literally the vibe check for your ZFS storage pools π«Ά it's giving "tell me everything about my pools and my vdevs, and also let me set stuff" and honestly? iconic.
πΈ NAME πΈ
zpool-get β retrieve properties of ZFS storage pools π
π 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 π¦
getting properties for your pools π
zpool get [-Hp] [-j [--json-int, --json-pool-key-guid]] [-o
field[,field]β¦] all|property[,property]β¦ [pool]β¦
So basically this pulls the given list of properties β or literally all the properties if you pass all β for the storage pool(s) you point at. no cap. π₯
These properties come back with the following fields:
nameβ name of storage pool β¨propertyβ property name π«valueβ property value πsourceβ property source, eitherdefaultorlocalπ
if you wanna know more about which pool properties exist, go read the zpoolprops(7) manual page, bestie, it's all in there π
and here are the flags for this one:
-j,--json[--json-int, --json-pool-key-guid]β display the list of properties in JSON format π§ specify--json-intto display the numbers in integer format instead of strings in JSON output. specify--json-pool-key-guidto set pool GUID as key for pool objects instead of pool name π-Hβ scripted mode π do not display headers, and separate fields by a single tab instead of arbitrary space. perfect for when you're piping into something else, iykyk-o fieldβ a comma-separated list of columns to display, defaults toname,property,value,sourceπΈ-pβ display numbers in parsable (exact) values π’
getting properties for your vdevs π§
zpool get [-j [--json-int]] [-Hp] [-o field[,field]β¦]
all|property[,property]β¦ pool [all-vdevs|vdev]β¦
This one retrieves the given list of properties β or all of them if you say all β for the specified vdevs (or literally all the vdevs if you say all-vdevs) in the pool you specified. obsessed. π«Ά
These properties show up with the following fields:
nameβ name of vdev β¨propertyβ property name π«valueβ property value πsourceβ property source, eitherdefaultorlocalπ
more deets on the available pool properties live in the vdevprops(7) manual page π
and the flags:
-j,--json[--json-int]β display the list of properties in JSON format π§ specify--json-intto display the numbers in integer format instead of strings in JSON output.-Hβ scripted mode π no headers, and fields separated by a single tab instead of arbitrary space.-o fieldβ a comma-separated list of columns to display, defaults toname,property,value,sourceπΈ-pβ display numbers in parsable (exact) values π’
setting properties, the main character move π
zpool set property=value pool
Sets the given property on the specified pool. wanna know which properties you can set and what values are acceptable? the zpoolprops(7) manual page has you, bestie π
zpool set property=value pool vdev
Sets the given property on the specified vdev in the specified pool. and yep, vdevprops(7) is where you go for what you can set there and what values are acceptable π
π SEE ALSO π
and that's the whole thing!! mwah π
this came to you from OpenZFS, dated October 12, 2024, page ZPOOL-GET(8) in the System Manager's Manual. slay, go check your pool properties, ily πβ¨π¦
π¦ where this page comes from
- alpine 3.23: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 Β· CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 Β· CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 Β· CDDL-1.0
- π the page's license: CDDL-1.0
- Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
- Copyright (c) 2012, 2018 by Delphix. All rights reserved
- Copyright (c) 2012 Cyril Plisko. All Rights Reserved
- Copyright (c) 2017 Datto Inc
- Copyright (c) 2018 George Melikov. All Rights Reserved
- Copyright 2017 Nexenta Systems, Inc
- Copyright (c) 2017 Open-E, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms