← 返回命令列表

Linux command

zpool-status 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show status of all pools

zpool status

Show status of specific pool

zpool status [poolname]

Show only pools with errors

zpool status -x

Show verbose error details

zpool status -v

Show deduplication statistics

zpool status -D

Output as JSON

zpool status -j

说明

zpool status displays detailed health information for ZFS storage pools. It shows device hierarchy, state of each vdev, error counts, and any ongoing scrub or resilver operations. The READ, WRITE, and CKSUM columns show error counts for each device. Non-zero values indicate potential hardware problems requiring attention. Regular scrubs help detect silent corruption early. When scrubs or resilvers are active, progress percentage and estimated completion time are displayed. The -x option provides a quick way to check if any pools need attention.

参数

-v
Verbose mode; show data error list.
-x
Only show pools with errors or unavailable.
-D
Display deduplication statistics.
-g
Display vdev GUIDs.
-L
Display real device paths.
-P
Display full device paths.
-T _d_|_u_
Timestamp format: d (date) or u (unix).
-j
Output in JSON format.

FAQ

What is the zpool-status command used for?

zpool status displays detailed health information for ZFS storage pools. It shows device hierarchy, state of each vdev, error counts, and any ongoing scrub or resilver operations. The READ, WRITE, and CKSUM columns show error counts for each device. Non-zero values indicate potential hardware problems requiring attention. Regular scrubs help detect silent corruption early. When scrubs or resilvers are active, progress percentage and estimated completion time are displayed. The -x option provides a quick way to check if any pools need attention.

How do I run a basic zpool-status example?

Run `zpool status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v do in zpool-status?

Verbose mode; show data error list.