All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Brahneborg <daniel.com@wtnord.net>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Daniel Brahneborg <daniel.com@wtnord.net>,
	mingo@redhat.com, linux-raid@vger.kernel.org
Subject: Re: BUG: Data corruption on Raid5 in Linux 2.6.0
Date: Sun, 28 Dec 2003 09:17:22 +0100	[thread overview]
Message-ID: <20031228091722.B4400@nettis.grimsta> (raw)
In-Reply-To: <16366.28299.160756.494452@notabene.cse.unsw.edu.au>; from neilb@cse.unsw.edu.au on Sun, Dec 28, 2003 at 04:47:55PM +1100

On Sun, Dec 28, 2003 at 04:47:55PM +1100, Neil Brown wrote:
> On Sunday December 28, daniel.com@wtnord.net wrote:
> > I have a Raid5 system of four 160GB SATA disks. The drives
> > themselves work fine, but when large files (a few hundred
> > megs) are written to the raid disks they get corrupted after
> > a random amount of data.  The kernel is Linus 2.6.0.
> > 
> > Any hints you can give me to get this working is highly
> > appreciated.
> 
> What file system?

XFS. I've tested a "cp a b; md5sum a b" on a 500MB file on both
the Raid disk as well as a normal partition on one of the disks,
and the latter works perfectly every time while the former fails
every time.

> Are you using DeviceMapper over the raid5?

Yes.

> If you are using DeviceMapper, can you try without it?
> (I don't think there is a proble with DeviceMapper, but it drives
> raid5 slightly differently to e.g. direct ext3 and could trigger a bug
> in raid5.)

I get the same problem without it, just a few more "dma_intr:
DriveReady SeekComplete Error" in the syslog.

There seems to be various opinions on whether to use the siimage
driver or the sata_sil driver with a Sil3112 SATA card.  For me
there isn't much choice though, since the sata_sil driver makes
my machine crash when I activate the second network card.

/Basic


  reply	other threads:[~2003-12-28  8:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-27 23:00 BUG: Data corruption on Raid5 in Linux 2.6.0 Daniel Brahneborg
2003-12-28  5:47 ` Neil Brown
2003-12-28  8:17   ` Daniel Brahneborg [this message]
2003-12-29  0:02     ` Mike Fedyk
2003-12-29 12:19       ` Daniel Brahneborg
2003-12-28 15:00   ` Daniel Brahneborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031228091722.B4400@nettis.grimsta \
    --to=daniel.com@wtnord.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=neilb@cse.unsw.edu.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.