constant zfs data corruption
Fabian Keil
freebsd-listen at fabiankeil.de
Mon Oct 20 10:40:32 PDT 2008
JoaoBR <joao at matik.com.br> 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_Gbit.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. :-)
> >
>
> ok then here it comes
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20081020/d94f8333/signature.pgp
More information about the freebsd-stable
mailing list