From nobody Thu Mar 10 06:32:42 2022 X-Original-To: bugs@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 D49D91A0C80A for ; Thu, 10 Mar 2022 06:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDfPk4WTyz3r87 for ; Thu, 10 Mar 2022 06:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B41E2010B for ; Thu, 10 Mar 2022 06:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22A6WgoC084122 for ; Thu, 10 Mar 2022 06:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22A6Wgsf084121 for bugs@FreeBSD.org; Thu, 10 Mar 2022 06:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262457] "zfs-list -v" duplicates most of the output; lack of "device" property to use with "-o" option Date: Thu, 10 Mar 2022 06:32:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: parv.0zero9+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646893962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u05if04+/2FWRMvZ3Jfwv4JQuBrUGU7zfjEmFEksQbY=; b=S0KYfemuoQTSC0fpyEWSFQuPpSvdmH4yT4YAEOCQM/WgpIn3HzS2Az/pC81CGPFhYNMjfm Sop07PPHYnjiAmYzovPxsqmO+wPcQOJ1g5v/QKaAYfBgkmRTDLxuly6jUTqe6i1CrJo0s1 Z+XiLmfR+WFFLO9qe/KC/8Z3C8rqR0Bk8b3Rsy1fbVMpAhaI+5OuPbV+CPmLJCUKZAk231 ioP9QBEOEWuyPT/MSjhPwGzuB05CsWQKnPv6SQ0Dw93J2j8YRcu8HfrOzgq8KdEKGYGdMC lsULl/LyyRBvCztsTiixM7f2z2yL2RVRBJ1axTfkvRrqLG+r7T6eCSk95TxDBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646893962; a=rsa-sha256; cv=none; b=K2OgGcb6I4LiD5Ml7k+TDhsl/NhbJokWGuuq+zPmqoLzRyMYji8Ww3+jQn0ekOT2dIGa1E fD04yOivlUgB3gYMggh/cJwEIjIGt3OEfVnfI5GH00wwQwJqa1eSLLWb3PcMFrWH/o3jrI Sn9BKBgHudgWTxwzPjIzUijZcsVC77hs+o7kYP/HmTEHxu1U4+IrpccXZ6v4nsiTz7+U2X 2T0jgKCGRUBmkQBXlL/GXQHCjjp44Tf0i56uHLL8Xe0NKJCWpn4RQOjwYkZmumTd4gPmKD hgx8vOH++5WaHoI18TmiqSsrl7aPA6Zzw5xuz7ErM+BYEJlKB+w2mfu0Mx1/vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262457 Bug ID: 262457 Summary: "zfs-list -v" duplicates most of the output; lack of "device" property to use with "-o" option Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: parv.0zero9+freebsd@gmail.com There is no "device" property to list the device of a pool for "zpool-list(= 8)" command to use with "-o" option. The other option of "-v" to list the device then duplicates most of the out= put ... # zpool list -v NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP= =20 DEDUP HEALTH ALTROOT aux0 19.5G 1.20G 18.3G - - 5% 6%= =20 1.00x ONLINE - gpt/aux0 19.5G 1.20G 18.3G - - 5% 6.15%= =20=20=20=20 - ONLINE build 18.5G 6.03G 12.5G - - 0% 32%= =20 1.00x ONLINE - gpt/src-ports-build 18.5G 6.03G 12.5G - - 0% 32.6%= =20=20=20=20 - ONLINE root2 14.5G 4.37G 10.1G - - 21% 30%= =20 1.00x ONLINE - ada4 14.5G 4.37G 10.1G - - 21% 30.2%= =20=20=20=20 - ONLINE src-ports 12.5G 4.17G 8.33G - - 0% 33%= =20 1.00x ONLINE - gpt/src-ports 12.5G 4.17G 8.33G - - 0% 33.4%= =20=20=20=20 - ONLINE zroot 11.5G 3.34G 8.16G - - 10% 29%= =20 1.00x ONLINE - ada3p4 11.5G 3.34G 8.16G - - 10% 29.0%= =20=20=20=20 - ONLINE ... I had expected only the device listed on its own line without rest of t= he duplicated data if it just could not listed in its own column. Specifying certain properties generates headers only for the ones specified= and no headers for the values listed for "device" line ... # zpool list -vo name,size,alloc NAME SIZE ALLOC aux0 19.5G 1.20G gpt/aux0 19.5G 1.20G 18.3G - - 5% 6.15%= =20=20=20=20 - ONLINE build 18.5G 6.03G gpt/src-ports-build 18.5G 6.03G 12.5G - - 0% 32.6%= =20=20=20=20 - ONLINE root2 14.5G 4.37G ada4 14.5G 4.37G 10.1G - - 21% 30.2%= =20=20=20=20 - ONLINE src-ports 12.5G 4.17G gpt/src-ports 12.5G 4.17G 8.33G - - 0% 33.4%= =20=20=20=20 - ONLINE zroot 11.5G 3.34G ada3p4 11.5G 3.34G 8.16G - - 10% 29.0%= =20=20=20=20 - ONLINE ... in this case I had cared only for the properties specified & the device name. Only way to get the device name, as far as I know, is to use "-v" opt= ion per its manual page, and that outputs other data not asked for. --=20 You are receiving this mail because: You are the assignee for the bug.=