Skip to content

zpool list -v disregards other options #11040

Open
@ghost

Description

System information

Type Version/Name
Distribution Name
Distribution Version
Linux Kernel
Architecture amd64
ZFS Version zfs-2.0.0-rc3
SPL Version

Describe the problem you're observing

zpool list -v -o name,health displays the requested fields for the pool but then also displays the full verbose output for vdevs. This seems to have been the case for quite some time, I don't think it is a recent regression.

https://jira.ixsystems.com/browse/NAS-107222

Describe how to reproduce the problem

root@truenas[~]# zpool list -v -o name,health
NAME                                            HEALTH
boot-pool                                       ONLINE
  ada0p2                                       936G  50.5G   886G        -         -     0%  5.39%      -  ONLINE
storage                                         ONLINE
  gptid/36101666-46ac-11ea-9231-f01faf47a547   944G  30.0G   914G        -         -     0%  3.17%      -  ONLINE

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions