[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    Re: zpool list -p -v output does not follow manpage
From:       Miroslav Lachman <000.fbsd () quip ! cz>
Date:       2023-01-24 17:39:07
Message-ID: 5f2886a8-7655-6c50-cd3e-c3f6ee4332d9 () quip ! cz
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic