From owner-freebsd-hackers@freebsd.org Thu Jul 5 17:03:38 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 84637103DE9D for ; Thu, 5 Jul 2018 17:03:38 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 023B789727; Thu, 5 Jul 2018 17:03:37 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id w65H3Zii035027 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 5 Jul 2018 19:03:35 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id w65H3UUt035024; Thu, 5 Jul 2018 19:03:30 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 5 Jul 2018 19:03:30 +0200 (CEST) From: Wojciech Puchar To: Alan Somers cc: Stefan Blachmann , FreeBSD Hackers , George Mitchell , Lev Serebryakov , Wojciech Puchar Subject: Re: Confusing smartd messages In-Reply-To: Message-ID: References: <51eb8232-49a7-0b3a-2d0f-9882ebfbfa1d@FreeBSD.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 17:03:38 -0000 > > Rewriting suspicious sectors is useless in this day and age. HDDs and SSDs > already do it internally and have for years. Even healthy sectors get unreadable sectors cannot be rewritten by drive electronics as it doesn't know what to rewrite. it may possibly remap it but still report read error until some data will be written - unless giving no error and returning meaningless data is an accepted behaviour. only on write it can be done properly. > that the HDD/SSD won't fix itself would be a checksum error. Those are yes and this will happen if you powerdown your disk on write. or get some power spike or other source of noise that would affect electronic components. performing full disk rewrite (so not zfs rebuilds) and THEN looking at smart stats and THEN performing regular smartctl -t long will tell the truth. which usually is "drive is fine" in my practice. really faulty drive will QUICKLY develop new problems.