lkml.org 
[lkml]   [2004]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: raid5 crash
On Wednesday December 22, kreide@online.no wrote:
> I am running kernel 2.6.9-gentoo-r10 on an Athlon XP 2400+ computer with a SiI
> 3114 SATA controller hosting 4 WD2500JD-00G drives. I have combined these
> drives into a raid5 array using software raid, but unfortunately the array is
> not stable. I have tried several filesystems (ext3, reiserfs, xfs), but after
> copying several gigabytes of data into the array (using scp) and then trying
> to read them back (using rsync to compare over the network) always results in
> data corruption. Here is the output from 'dmesg':
>
> kernel BUG at drivers/md/raid5.c:813!

This BUG happens when there are two outstanding read (or write)
requests for the same piece of storage (more accurately, two "bio"s
that overlap).
raid5 cannot currently handle this situation.
Most filesystems would never make requests like this.
I note that you are using reiserfs in this case. It is possible that
reiserfs with tail-packing enabled could do this.

I doubt very much that this would happen with ext3. I don't know
about xfs, but I doubt it would happen their either.

When using some other filesystem, what sort of data corruption are you
getting?

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2011 Jasper Spaans