One will often want to check the status of a zpool in zfs. A common way to do this is to use
zpool status <pool>
This will provide a detailed listing of the overall pool and all disks within that pool. It will tell you whether the disks are online, faulted, or removed. It will also display all the raidz or mirror arrays. It will also tell you if a pool was recently scrubbed.
For larger systems this can display a considerable number of disks. If you want to reduce the output and get a short output providing a status update you can do
zpool status -x <pool>
If the pool has no problems it will display the output “all pools are healthy”. Which is easier to see than a listing of all the disks in the pool.
Leave a Reply
You must be logged in to post a comment.