Bug 259344 - HEALTH column misaligned in 'zpool list -v' command
Summary: HEALTH column misaligned in 'zpool list -v' command
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-21 16:13 UTC by Slawomir Wojciech Wojtczak
Modified: 2021-10-21 17:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2021-10-21 16:13:35 UTC
Hi,

this is on 13.0-RELEASE system.

% uname -a
FreeBSD w520.local 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

The HEALTH column is misaligned and also shouldn't the ALTROOT have the '-' as line above?

% zpool list -vLP
NAME                SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
savio              3.62T  3.27T   365G        -         -    22%    90%  1.10x    ONLINE  -
  /dev/ada0p1.eli  3.62T  3.27T   365G        -         -    22%  90.2%      -  ONLINE  
zroot               118G  28.3G  89.7G        -         -    37%    23%  1.00x    ONLINE  -
  /dev/ada1p4.eli   118G  28.3G  89.7G        -         -    37%  24.0%      -  ONLINE  

% zpool list -gv 
NAME                    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
savio                  3.62T  3.27T   365G        -         -    22%    90%  1.10x    ONLINE  -
  2304354592570690003  3.62T  3.27T   365G        -         -    22%  90.2%      -  ONLINE  
zroot                   118G  28.3G  89.7G        -         -    37%    23%  1.00x    ONLINE  -
  8265864934020187207   118G  28.3G  89.7G        -         -    37%  24.0%      -  ONLINE  


Regards.
Comment 1 Yuri 2021-10-21 16:57:07 UTC
This should be fixed https://github.com/openzfs/zfs/pull/11899, merged to main, and likely stable/13?
Comment 2 Slawomir Wojciech Wojtczak 2021-10-21 17:11:27 UTC
(In reply to Yuri from comment #1)

Ok, should I close this bug now then?

As it seems it will be fixed in 13-STABLE?