Expand description
ZFS storage pool detection via zpool list.
Supported wherever the zpool binary is present (Linux with ZFS-on-Linux,
macOS with OpenZFS). Returns an empty list if zpool is not installed —
most systems don’t have ZFS, so a missing binary is not an error.
Functions§
- detect_
zpool - Detects imported ZFS pools and reports name, allocation, and health for each.
- parse_
zpool_ list - Parses
zpool list -H -p -o name,size,alloc,health(tab-separated, byte-exact sizes).