linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* silent corruption with RAID1
@ 2006-02-26  2:40 Moses Leslie
  2006-02-26  5:07 ` Bill Davidsen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Moses Leslie @ 2006-02-26  2:40 UTC (permalink / raw)
  To: linux-raid

Hi,

I have a machine that currently has 4 drives in it (currently running
2.6.15.4). The first two drives are on the onboard SATA controller (VIA)
in a RAID-1.  I haven't had any issues with these.

The other two drives were added recently, along with an SiL PCI SATA card
to put them on.  lspci reports this card as:

0000:00:0a.0 Unknown mass storage controller: Silicon Image, Inc.
(formerly CMD Technology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA
Controller (rev 02)

I initially used mdadm to create a new RAID1 of the two new drives, and
added them into the LVM group that the other ones were in to expand the
drive, but pretty quickly noticed (via rsync -c) that all new files were
corrupted.

I've since pulled the 2nd set of drives out of the LVM to test.  It's only
when using a RAID-1 that I get occasionaly corruption.  I split the drives
(each 300GB) into 4 75GB partitions each, and created 3 md devices.   One
75GB raid1, one 150GB raid0, and 1 225GB raid5.

I used a script that newfs'd each one, dd'd multiple copies of files (one
run with a 1GB, one with 3GB, one with 6GB), md5'd those files, then
umounted.

At least once in each test run, there was a file with the wrong checksum
when on the RAID-1 part of the test.

After completing all the tests, I redid the md devices such that none
of them used any of the same partitions that they had used in the first
test (IE the RAID1 was sda1 and sdb1 in the first one, and was sda4 and
sdb4 in the second one).

I also did the same test using each of the regular partitions as well
(sda1-4 and sdb1-4).

I was never able to duplicate any corruption any other time than with the
RAID1.

There's never any error messages in dmesg or syslog.

Is there anything I can do to help track down where the problem is?

Thanks!

Moses

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-02-27  0:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26  2:40 silent corruption with RAID1 Moses Leslie
2006-02-26  5:07 ` Bill Davidsen
2006-02-26  8:22 ` Andre Noll
2006-02-26  8:57   ` Moses Leslie
2006-02-26  9:05     ` Andre Noll
2006-02-26 17:39       ` Moses Leslie
2006-02-27  0:55 ` Moses Leslie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).