[Bug 221943] Never mask a unhealthy ZFS pool

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 30 16:46:05 UTC 2017


            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: freebsd-bugs at FreeBSD.org
          Reporter: wout at canodus.be

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


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.

More information about the freebsd-bugs mailing list