ZPool Usage Percentage wrong
ops center calculates ZPool Usage Percentage wrong, it considers reserved space as used even when zfs doesn't.example, I create a zpool for swap, called swappool, on a 40gb lun
then define a volume in there
zfs create -V 39G swappool/swap
ops center now thinks this zpool is full and I get alerts.
zpool list command shows it is not full
NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
swappool 39.8G 23.7G 16.1G 59% ONLINE -
also zfs list shows not full
NAME USED AVAIL REFER MOUNTPOINT
swappool 38.2G 986M 21K none
swappool/swap 38.2G 15.5G 23.7G -
then define a volume in there
zfs create -V 39G swappool/swap
ops center now thinks this zpool is full and I get alerts.
zpool list command shows it is not full
NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
swappool 39.8G 23.7G 16.1G 59% ONLINE -
also zfs list shows not full
NAME USED AVAIL REFER MOUNTPOINT
swappool 38.2G 986M 21K none
swappool/swap 38.2G 15.5G 23.7G -
0