Bugfix: zfs-health.sh
This commit is contained in:
parent
61bc08b4d7
commit
54dfb2d016
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue