HomeFreeBSD

Add physical device size to SIZE column in 'zpool list -v'

Description

Add physical device size to SIZE column in 'zpool list -v'

Add physical device size/capacity only for physical devices in
'zpool list -v' instead of displaying "-" in the SIZE column.
This would make it easier to see the individual device capacity and
to determine which spares are large enough to replace which devices.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com>
Signed-off-by: Akash B <akash-b@hpe.com>
Closes #12561
Closes #13106

Details

Provenance
Akash B <akash-b@hpe.com>Authored on Mar 9 2022, 12:20 AM
Tony Hutter <hutter2@llnl.gov>Committed on Sep 15 2022, 5:23 PM
Parents
rG8bd3dca9bf3e: Introduce a tunable to exclude special class buffers from L2ARC
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG03fa3ef264ab: Add physical device size to SIZE column in 'zpool list -v' (authored by Akash B <akash-b@hpe.com>).Sep 15 2022, 5:23 PM