Werk #20153: df: Fix crash when a filesystem's usable capacity is 0
| Component | Checks & agents | ||||||
| Title | df: Fix crash when a filesystem's usable capacity is 0 | ||||||
| Date | Jul 6, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
The filesystem check (df) and other checks that reuse its logic — Pure Storage
FlashArray capacity/volumes and sansymphony pool — could crash with
ZeroDivisionError: float division by zero when the reported usable capacity
was zero, for example when a filesystem had its entire capacity reserved for the
root user. These checks now report a WARN status with the following summary:
"Size of usable filesystem is 0 B"