From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 09:21:06 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 D53BE106568D for ; Thu, 3 Sep 2009 09:21:06 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.freebsd.org (Postfix) with ESMTP id 94ACD8FC1A for ; Thu, 3 Sep 2009 09:21:06 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout1-sn2.hy.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A7285AE003B1A42; Thu, 3 Sep 2009 11:21:05 +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: Thu, 3 Sep 2009 11:21:03 +0200 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> In-Reply-To: <4A9CBDBB.3060403@mapper.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS and DMA read error Thread-Index: AcoqzNXHsdGYePzIRjiHThLkBzpYtwBqSqNg References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@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: Thu, 03 Sep 2009 09:21:06 -0000 Mark Stapper wrote: > People are REALLY pushing spinrite lately... I did get it though, just to try it. SpinRite is OK but it hasn't been updated in ages. It does not work on large drives. 250GB works, 1TB does not. Haven't tried it on 500GB drives. If I were you I would 'zpool offline ...' the offending drive, rewrite the entire drive with 'dd if=3D/dev/zero ...' and then run a SMART selftest on it using smartmontools ('smartctl -t long /dev/adX'). When you 'zpool online ...' the drive ZFS will resilver it for you. After doing all of this I would then run a 'zpool scrub ...'. If the scrub finishes without checksum errors and without any ATA-related errors the drive is probably in good enough condition to keep using, but watch out for more ATA errors. If the drive is dying it won't be long before it starts to generate more ATA errors. /Daniel Eriksson