ZFS pool - HEALTH fault
James B. Byrne
byrnejb at harte-lyne.ca
Wed Nov 21 21:29:05 UTC 2018
On Wed, November 21, 2018 12:45, Kevin P. Neal wrote:
> On Wed, Nov 21, 2018 at 09:33:32AM -0500, James B. Byrne via
> freebsd-questions wrote:
>> Immediately following an upgrade from FreeBSD-11.1 to 11.2p4 we
>> received the following warning. I can see the suggested remedy
>> but I need to know why this has happened first. We have
>> previously upgraded numerous hosts from FreeBSd-11.1 to 11.2,
>> all of which are using zfs, and no other system has reported
>> such a fault,
>>
>> ZFS pool - HEALTH fault
>
> This message that says "HEALTH fault" comes from what? What command
> prints this message?
It comes from a regularly scheduled health check script whose relevant
portion is:
condition=$(/sbin/zpool status | egrep -i
'(DEGRADED|FAULTED|OFFLINE|UNAVAIL|REMOVED|FAIL|DESTROYED|corrupt|cannot|unrecover)')
if [ "${condition}" ]; then
emailSubject="`hostname` - ZFS pool - HEALTH fault"
problems=1
fi
Given that the status is none of the above I infer that one or more of
the words |corrupt|cannot|unrecover| appeared in whatever message
zpool status emitted. However, running this command from the command
line produces nothing containing any of the trigger words.
>
> Because the pool is perfectly healthy. There's nothing wrong.
> The pool was created on an earlier version of FreeBSD before
> some features were implemented. Now that they are supported
> by FreeBSD you can upgrade your pool to use them. But that
> doesn't mean there is anything wrong.
>
> There is no problem here aside from some program not recognizing
> the note that tells you about new features being available.
>
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the freebsd-questions
mailing list