vdev error monitoring fails on big numbers because it doesn't use the -p flag
AceSlash opened this issue · comments
AceSlash commented
Currently the vdev number of READ WRITE and CKSUM failure is taken from the output of the zpool status
command.
This is fine until you get a number high enough (>1000) and get the human readable output like "2K", which breaks the item.
Solution is simply to modify the template and use the -p
flag which exists for this purpose.
AceSlash commented
The "-p" flag was introduced between ZFS 0.8.0-rc1 and -rc2. As a result, it cannot be used everywhere.
To avoid issue, I will use numfmt --from=si
instead.