You can check the status of a ZFS storage pool on Linux/Unix by using the zpool
command.
Here are some common options for checking the status of a ZFS storage pool:
zpool list
: This command will show you the status of all available ZFS storage pools on the system, including the pool name, size, used, available, and capacity.
zpool list
zpool status
: This command will show you the detailed status of all available ZFS storage pools on the system, including the pool name, state, scan status, config, errors, and more.
zpool status
zpool iostat
: This command will show you the I/O statistics of the ZFS storage pool, including the pool name, operations, bandwidth, and capacity.
zpool iostat -v 1
zpool scrub
: This command will check the integrity of all data in the pool by comparing it to the parity data.
zpool scrub <pool name>
zfs get
: This command will show you the properties of ZFS file system and storage pool, such as compression, encryption, quotas, etc.
zfs get <property> <pool name>
Please note that the above commands require superuser access to run, you might need to prefix the command with sudo
. It’s also recommended to check the ZFS website for the latest version and installation instructions.