Bugfix: zfs-health.sh

This commit is contained in:
Michael Grote 2021-02-02 14:41:56 +01:00
parent 61bc08b4d7
commit 54dfb2d016

View file

@ -19,7 +19,7 @@ fi
# SSD then 80% is reasonable. If you have a 60TB raid-z2 array then you can # SSD then 80% is reasonable. If you have a 60TB raid-z2 array then you can
# probably set the warning closer to 95%. # probably set the warning closer to 95%.
maxCapacity= {{ zfs_tool_max_cap }} maxCapacity={{ zfs_tool_max_cap }}
if [ ${problems} -eq 0 ]; then if [ ${problems} -eq 0 ]; then
capacity=$(/sbin/zpool list -H -o capacity) capacity=$(/sbin/zpool list -H -o capacity)