https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221943

            Bug ID: 221943
           Summary: Never mask a unhealthy ZFS pool
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 185929
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185929&action=edit
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:

daily_show_success="NO"
daily_show_info="NO"

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to