From owner-freebsd-questions@freebsd.org Wed Nov 21 21:29:05 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3F3C1146FBC for ; Wed, 21 Nov 2018 21:29:04 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DBBC7787B for ; Wed, 21 Nov 2018 21:29:04 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (unknown [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 5E3B5273C3 for ; Wed, 21 Nov 2018 16:29:03 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id rS_mRMbhGgnE for ; Wed, 21 Nov 2018 16:28:57 -0500 (EST) Received: from webmail.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id DCBDB273BA for ; Wed, 21 Nov 2018 16:28:56 -0500 (EST) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 21 Nov 2018 16:28:57 -0500 Message-ID: In-Reply-To: <20181121174530.GA3992@neutralgood.org> References: <4f40f0c404b8384a571f0c13eb9c2136.squirrel@webmail.harte-lyne.ca> <20181121174530.GA3992@neutralgood.org> Date: Wed, 21 Nov 2018 16:28:57 -0500 Subject: Re: ZFS pool - HEALTH fault From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 2DBBC7787B X-Spamd-Result: default: False [-3.11 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.92)[-0.918,0]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; MX_GOOD(-0.01)[cached: mx32.harte-lyne.ca]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.07)[-0.072,0]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[32.71.185.216.list.dnswl.org : 127.0.4.1]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; IP_SCORE(-0.02)[country: CA(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 21:29:05 -0000 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@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