Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2017 16:46:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221943] Never mask a unhealthy ZFS pool
Message-ID:  <bug-221943-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221943

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

Created attachment 185929
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185929&action=
=3Dedit
Proposed patch to fix 404.status-zfs

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

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

daily_show_success=3D"NO"
daily_show_info=3D"NO"

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

See also bug #173614, comment #1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221943-8>