From owner-freebsd-hackers@freebsd.org Thu Jul 5 00:42:52 2018 Return-Path: Delivered-To: freebsd-hackers@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 4CAC3102EF04 for ; Thu, 5 Jul 2018 00:42:52 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C85D07C015 for ; Thu, 5 Jul 2018 00:42:51 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w650ghQh011643 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Jul 2018 02:42:43 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: george+freebsd@m5p.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w650gZ2o079452 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 5 Jul 2018 07:42:35 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Confusing smartd messages To: George Mitchell , FreeBSD Hackers References: From: Eugene Grosbein Message-ID: <5B3D6975.2060508@grosbein.net> Date: Thu, 5 Jul 2018 07:42:29 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 00:42:52 -0000 05.07.2018 7:03, George Mitchell пишет: > Every thirty minutes, smartd is telling me: > > Device: /dev/ada1, 2 Currently unreadable (pending) sectors > Device: /dev/ada1, 2 Offline uncorrectable sectors > > smartctl -a /dev/ada1 seems to be reassuring me that everything is > fine (SMART overall-health self-assessment test result: PASSED), If that would say FAILED, you should be replacing the disk immediately. PASSED does not mean it has no problems, but problems are not fatal (yet). > though it also says: > > 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always > - 2 > 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age > Offline - 2 > > which sounds like it confirms the log message above. The disk is > part of a zraid pool whose "zpool status" also says everything is > okay. What's the recommended action at this point? -- George You need to force the disk performing rewrite of those two bad sectors. There is a possibility they are just an example of "soft bad" and in that event the problem will just disappear without new remaps, that would be best possble case. Or two sectors could happen really bad and remap will "fix" (really hide) the problem, in that case you should be ready for possible increasing number of bad sectors and have a replacement handy. First step is running zpool scrub or even replace the disk and run "dd if=/dev/zero of=/dev/ada1".