Re: zpool list -p -v output does not follow manpage
- In reply to: John Doherty: "Re: zpool list -p -v output does not follow manpage"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 17:39:07 UTC
On 23/01/2023 21:25, John Doherty wrote: > On Mon 2023-01-23 01:15 PM MST -0700, <asomers@freebsd.org> wrote: [..] >> It's working correctly for me on 13.1-RELEASE and 14.0-CURRENT. > > Also fine for me on 13.1-RELEASE but not 12.4-RELEASE: > > [root@ss2] # freebsd-version -k ; zpool list -v -p zpX > 12.4-RELEASE > NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP > DEDUP HEALTH ALTROOT > zpX 1006632960 93696 1006539264 - - 0% > 0 1.00x ONLINE - > mirror 960M 91.5K 960M - - 0% 0.00% > /vd/vd00 - - - - - - - > /vd/vd01 - - - - - - - I tried 13.1 in a VirtualBox and numbers are OK (option -p) but it still shows unexpected output when it should be limited to named properties with -o name,size: # zpool list -v -p -o name,size NAME SIZE tank0 18790481920 ada0p3 18790481920 7143497728 11646984192 - - 21 38 - ONLINE I would expect this output: NAME SIZE tank0 18790481920 ada0p3 18790481920 I think there is still something to fix. I don't know if this is in FreeBSD's version of ZFS only or not. Kind regards Miroslav Lachman