Allow zpool status -c
to also specify vdev properities
#16913
Labels
Type: Feature
Feature request or new feature
zpool status -c
to also specify vdev properities
#16913
Describe the feature would like to see added to OpenZFS
It would be nice to include specific vdev properties in the
zpool status
output. We could overloadzpool status -c
to specify them:The only name conflict between the
-c
scripts columns and the vdev params is "size", which we can probably work around. We'd want a test case to make sure there were no naming conflicts between the scripts columns and vdev properties too.How will this feature improve OpenZFS?
Make it easier to see per-vdev values in the familiar
zpool status
column output.Additional context
This makes it easier to tack on new state to vdevs. For example, we wouldn't have needed special
zpool status
cases for slow IOs (-s
) if we had this functionality earlier. It also makes it so you don't have do separatezpool status -j
andzpool get -j
calls if you're trying to query pool status and vdev properties for JSON.The text was updated successfully, but these errors were encountered: