raid0_map bug and disk corruption

Martin Weinberg (weinberg@osprey.astro.umass.edu)
Tue, 12 Oct 1999 10:22:11 -0300


Over the last month, I have been having trouble with raid0.
I am running a dual Xeon with four 32GB Barracudas on a
Adaptec 2940U2W. This is 2.2.11 with the development patches
from kernel.org/pub/linux/daemons/raid/alpha.

raid0_map bug: hash->zone0==NULL for block 1132810879
Bad md_map in ll_rw_block
raid0_map bug: hash->zone0==NULL for block 1132810879
Bad md_map in ll_rw_block

Disk data is corrupted as verified by hex dumps using
dd and od; examining the dump, it appears as if blocks
are overwritten.

It may be relevant that the raid0 was made with a chuck
size of 128 and mke2fs with no -b. I realize that not
using a larger block may lead to inefficiencies; if someone
can confirm that this is the source of my problems, that
would be helpful too.

Otherwise, I don't understand the raid0.c code enough to
know what to do (e.g. besides dumping software raid0 in favor
or hardware raid) Any suggestions?

--Martin

===========================================================================

Martin Weinberg Phone: (413) 545-3821
Dept. of Physics and Astronomy FAX: (413) 545-2117/0648
530 Graduate Research Tower weinberg@astro.umass.edu
University of Massachusetts http://www.astro.umass.edu/~weinberg/
Amherst, MA 01003-4525

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