From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 08:40:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 833D2106566C for ; Mon, 7 Sep 2009 08:40:09 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.freebsd.org (Postfix) with ESMTP id 42E398FC16 for ; Mon, 7 Sep 2009 08:40:09 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout1-sn1.fre.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A9EEF8D00074F18; Mon, 7 Sep 2009 10:40:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Date: Mon, 7 Sep 2009 10:40:06 +0200 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E9C8@royal64.emp.zapto.org> In-Reply-To: <4A9F8F96.3090806@mapper.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS and DMA read error Thread-Index: AcosevKatDhX6yWPRKmUOsgXRMwgtwDGuLVQ References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> From: "Daniel Eriksson" To: Cc: Mark Stapper Subject: RE: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 08:40:09 -0000 Mark Stapper wrote: > Yeah, i did the long SMART selftest three times now, each of which it > failed on the same LBA address. I assume 'smartctl -a /dev/adX' reports that the read test failed at LBA XXX something? > Why would I want to clear my driver before I run these tests? In this case it's not really clearing the drive you are aiming for, it is to write to every sector. If you have a failed sector (which you do), writing to it will force the drive firmware to remap the sector. As far as I know, most drives will not remap an unreadable sector until it is written to. /Daniel Eriksson