Date: Thu, 28 Jun 2018 21:46:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229398] zpool list -H -p inconsistent output format for Frag Message-ID: <bug-229398-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229398 Bug ID: 229398 Summary: zpool list -H -p inconsistent output format for Frag Product: Base System Version: 10.4-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: 000.fbsd@quip.cz zpool list -H -p or zpool get -H -p should print exact values without unit sufixes. Size, Aloc and Free are OK, Capacity si also printed without perce= nt sign, but Fragmentation is always displayed with percent sign: # zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT tank0 912G 581G 331G - 24% 63% 1.00x ONLINE - # zpool list -H -p tank0 979252543488 623912925184 355339618304 - 24% 63= =20=20=20=20=20 1.00x ONLINE - # zpool list -H -p -o size 979252543488 # zpool list -H -p -o frag 24% # zpool list -H -p -o cap 63 The same applies to zpool get # zpool get -p cap NAME PROPERTY VALUE SOURCE tank0 capacity 63 - # zpool get -p frag NAME PROPERTY VALUE SOURCE tank0 fragmentation 24% - # zpool get -H -p -o value cap 63 # zpool get -H -p -o value frag 24% There should not be percent sign. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229398-227>