6320a3a111e21b456074f73df3df91a6ac38852b
Without '-p', 'zpool status' shortens the READ, WRITE and CKSUM counters of a vdev to a value with a unit suffix once they reach 1024, for example 1130 read errors are shown as '1.10K'. The parser just adds zero to those values, so the API returned 1.1 read errors in that case and logged a warning like: Argument "1.10K" isn't numeric in addition (+) Request exact values with '-p'. For the non-JSON output of 'zpool status' it only affects those counters, the sizes in the scan line stay human readable. Signed-off-by: Michal Fox <me@dualfroz.com>
Description
My contributions to proxmox-git/pve-storage: 8 commits
101 KiB
0 Stars
1 Watchers
0 Forks
Languages
Perl
100%