Thread (3 messages) 3 messages, 3 authors, 2004-04-06

Re: RAID1 Mirroring question.

From: Mark Hahn <hidden>
Date: 2004-04-05 16:50:00

We have a Linux Software RAID1 (mirroring). If there is a little error on one
of the disks (such a little error that the kernel dosn't recognize it). There
is a read request on the raid for a specific file. The output of one of the
disks differ from the output of the other disk. (But there are no errors 
recognized by the kernel / fs / raid-driver. Only one inverted bit for example)
What is RAID/MD doing? Are there checksums for the original file?
afaikt, MD raid1 assumes that any data-corrupting errors are reported.
if the device corrupts data and lies to the driver/kernel/md, then you
are in trouble.  this applies to both reads and writes.

it's easy to imagine a ckraid1 tool that somehow forces reads of all
copies of each block. but with two mirrors, there would presumably
be no way to decide which to use...

all that said, I've never seen this happen.

then again, raid1 is a sort of ugly niche feature, IMO.  how many 
systems can afford two but not three disks?  raid5 is not scary!

regards, mark hahn.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help