From owner-freebsd-fs@FreeBSD.ORG Tue Feb 5 17:31:10 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D05AA16A41B for ; Tue, 5 Feb 2008 17:31:10 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 38F5B13C455 for ; Tue, 5 Feb 2008 17:31:09 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.1/8.13.8) with ESMTP id m15HV2a8085869; Tue, 5 Feb 2008 11:31:03 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.1/8.13.8/Submit) id m15HV2dU085868; Tue, 5 Feb 2008 11:31:02 -0600 (CST) (envelope-from brooks) Date: Tue, 5 Feb 2008 11:31:02 -0600 From: Brooks Davis To: Dag-Erling Sm??rgrav Message-ID: <20080205173102.GA85735@lor.one-eyed-alien.net> References: <47A73C8D.3000107@skyrush.com> <86prvby5o1.fsf@ds4.des.no> <47A864D9.4060504@skyrush.com> <864pcnxz8f.fsf@ds4.des.no> <47A88ADE.7050503@skyrush.com> <86abmfwc6h.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <86abmfwc6h.fsf@ds4.des.no> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 05 Feb 2008 11:31:03 -0600 (CST) Cc: freebsd-fs@freebsd.org Subject: Re: Forcing full file read in ZFS even when checksum error encountered X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 17:31:10 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 05, 2008 at 06:22:30PM +0100, Dag-Erling Sm??rgrav wrote: > Joe Peterson writes: > > Dag-Erling Sm??rgrav writes: > > > There is now way to "read the bad data" since an unrecoverable > > > checksum error means that ZFS has no idea which of the multiple > > > version of the affected block is the right one. > > Nope, no mirror, no RAIDZ - just one partition. But as far as I know, = there > > were no read errors, just a checksum error. >=20 > A checksum error results from a read error. Check your drive's SMART > error log if it has one. It might not be detectable in a surface scan, > as the damaged sector will be automatically reassigned if it's written > to (which ZFS may very well have done) We've also experienced several situations were zfs was detecting corruption caused by bad cabling or bad controller firmware so SMART had nothing to report. -- Brooks --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHqJ1VXY6L6fI4GtQRAs8DAKCaaSkIJhcqe3WENQxt1qJsCjLdQwCfVNVq XsfLeRC8Mga3F+v3+vaaZrk= =29O6 -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--