From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 17:40:32 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B08F106567A for ; Mon, 20 Oct 2008 17:40:32 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay10.ispgateway.de (smtprelay10.ispgateway.de [80.67.29.24]) by mx1.freebsd.org (Postfix) with ESMTP id D9A6A8FC08 for ; Mon, 20 Oct 2008 17:40:31 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [88.153.0.16] (helo=localhost) by smtprelay10.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KryYv-0004FA-28 for freebsd-stable@freebsd.org; Mon, 20 Oct 2008 19:29:01 +0200 Date: Mon, 20 Oct 2008 19:28:52 +0200 From: Fabian Keil To: freebsd-stable@freebsd.org Message-ID: <20081020192852.7050ade6@fabiankeil.de> In-Reply-To: <200810201507.30778.joao@matik.com.br> References: <200810171530.45570.joao@matik.com.br> <200810200837.40451.joao@matik.com.br> <20081020132208.GA3847@icarus.home.lan> <200810201507.30778.joao@matik.com.br> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Aq.KCLSmt7lqn5xf2eXsNws"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Df-Sender: 775067 Subject: Re: constant zfs data corruption X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 17:40:32 -0000 --Sig_/Aq.KCLSmt7lqn5xf2eXsNws Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable JoaoBR wrote: > On Monday 20 October 2008 11:22:08 you wrote: > > On Mon, Oct 20, 2008 at 08:37:40AM -0200, JoaoBR wrote: > > > On Friday 17 October 2008 15:39:59 Chuck Swiger wrote: > > > > On Oct 17, 2008, at 11:30 AM, JoaoBR wrote: > > > > > constantly I find data corruption on ZFS volums, ever from > > > > > rrdtool, this > > > > > corrupt data happens on SATA disks, never seem on SCSI > > > > > > > > Presumably your SATA drives are correctly being reported by ZFS as > > > > corrupting data, and you should do something like replace cables, > > > > the drives themselves, perhaps try downgrading to SATA-150 rather > > > > than -300 if you are using the later. Also consider running a > > > > drive diagnostic utility from the mfgr (or smartmontools) and > > > > doing an extended self-test or destructive write surface check. > > > > > > well, hardware seems to be ok and not older than 6 month, also > > > happens not only on one machine ... smartctl do not report any hw > > > failures on disk > > > > > > regarding jumpering the drives to 150 you suspect a driver problem? > > > > It's not because of a driver problem. There are known SATA chipsets > > which do not properly work with SATA300 (particularly VIA and SiS > > chipsets); they claim to support it, but data is occasionally > > corrupted. Capping the drive to SATA150 fixes this problem. > > > > http://en.wikipedia.org/wiki/Serial_ATA#SATA_1.5_Gbit.2Fs_and_SATA_3_Gb= it.2 > >Fs > > > > There are also known problems with Silicon Image chipsets (on Linux, > > Windows, and FreeBSD). > > > > Because you didn't provide your smartctl output, I can't really tell if > > the drives are in "good shape" or not. :-) > > >=20 > ok then here it comes >=20 > smartctl version 5.38 [amd64-portbld-freebsd7.0] Copyright (C) 2002-8 Can you reproduce the problem on a i386 system? I have a USB HD case that works fine on a i386 system but writing from an amd64 system leads to ZFS checksum errors (reading works though). Fabian --Sig_/Aq.KCLSmt7lqn5xf2eXsNws Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkj8v9QACgkQBYqIVf93VJ0kVACbB317hLfRvxfeIiBNqYxkmXNO KkIAnjI+MIjfe+2hxO/soizn+JLSvXiq =/HcN -----END PGP SIGNATURE----- --Sig_/Aq.KCLSmt7lqn5xf2eXsNws--