Bug 221943 - 404.status-zfs: Never mask a unhealthy ZFS pool
Summary: 404.status-zfs: Never mask a unhealthy ZFS pool
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Keywords: patch
Depends on:
Reported: 2017-08-30 16:46 UTC by wout
Modified: 2020-07-12 16:37 UTC (History)
0 users

See Also:

Proposed patch to fix 404.status-zfs (327 bytes, patch)
2017-08-30 16:46 UTC, wout
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wout 2017-08-30 16:46:05 UTC
Created attachment 185929 [details]
Proposed patch to fix 404.status-zfs

/etc/periodic/daily/404.status-zfs can detect unhealthy pools, but returns rc=1 when one is found.

This prevents sending the periodic output when you hide success and info messages:


Other disk status periodic scripts, such as 406.status-gmirror and 401.status-graid return rc=3 in this case, so the information is never masked in the periodic output.

See also bug #173614, comment #1
Comment 1 wout 2018-07-27 13:48:53 UTC
Anyone has input on this?