Skip to content

zpool status JSON output missing state and vdev_type for draid vdevs #18431

@Zmegolaz

Description

@Zmegolaz

System information

Type Version/Name
Distribution Name Debian
Distribution Version 13 (trixie)
Kernel Version 6.12.57+deb13-amd64
Architecture amd64
OpenZFS Version zfs-2.3.2-2, zfs-kmod-2.3.2-2

Describe the problem you're observing

When running zpool status -j to format the output as JSON, draid vdevs are missing the keys vdev_type and state, which (most?) other vdev types have. This information is available for draid vdevs when not formatting as JSON.

Describe how to reproduce the problem

Run zpool status and zpool status -j on a pool with a draid vdev and compare the output.

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions