From nobody Tue Jan 24 17:39:07 2023 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1Z34676Qz3b40G for ; Tue, 24 Jan 2023 17:39:12 +0000 (UTC) (envelope-from SRS0=JGpz=5V=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1Z343fLnz3hPx; Tue, 24 Jan 2023 17:39:12 +0000 (UTC) (envelope-from SRS0=JGpz=5V=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 79C2D28454; Tue, 24 Jan 2023 18:39:09 +0100 (CET) Received: from [192.168.145.50] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 77F6628416; Tue, 24 Jan 2023 18:39:08 +0100 (CET) Message-ID: <5f2886a8-7655-6c50-cd3e-c3f6ee4332d9@quip.cz> Date: Tue, 24 Jan 2023 18:39:07 +0100 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: zpool list -p -v output does not follow manpage Content-Language: cs-Cestina To: John Doherty , freebsd-fs@freebsd.org, Alan Somers References: <056395aa-179b-bca6-de38-d804fba48ca7@quip.cz> <896F9EA3-35F1-4447-AE38-9AB44E919A56@jld3.net> From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <896F9EA3-35F1-4447-AE38-9AB44E919A56@jld3.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4P1Z343fLnz3hPx X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 23/01/2023 21:25, John Doherty wrote: > On Mon 2023-01-23 01:15 PM MST -0700, 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