Skip to contentSkip to conversation

Two RAID6 questions

DISCUSSION John Rowe 2 participants 2 messages Jan 20, 2006 MD RAID

lore
Share & tools
lore

John Rowe

author
#0 lore raw

(Before I start, thanks to everybody who replied to my previous questions.)

First, can raidreconf grow a RAID6 device? The man page doesn't seem to mention RAID6 at all.

Second, with RAID5 or RAID6 my biggest fear is a system crash whilst the RAID is writing resulting in dirty blocks. Does RAID6 give some sort of ECC capability when reconstructing? I'm imagining checking the parity of a RAID block and if it's wrong assuming each block in turn is dirty, recalculating it from the first parity and then checking the result against the second parity.

Thanks

John

#1 lore raw
Quoted 3 lines · John Rowe

First, can raidreconf grow a RAID6 device? The man page doesn't seem to mention RAID6 at all.

No, raidreconf has no knowledge of raid-6 at all.

Quoted 6 lines

Second, with RAID5 or RAID6 my biggest fear is a system crash whilst the RAID is writing resulting in dirty blocks. Does RAID6 give some sort of ECC capability when reconstructing? I'm imagining checking the parity of a RAID block and if it's wrong assuming each block in turn is dirty, recalculating it from the first parity and then checking the result against the second parity.

This is just one of those things.. if you crash while writing, unless you have hardware raid with NVRAM you are going to leave the array in an unclean, uncertain state.. The best you can do is re-sync the array, fsck the filesystem and hope for the best..

The greatest new feature in md in this regard is the periodically mark the array as clean while it's idle.. It generally ensures that most of the time on a crash you don't need a resync on the next assemble.

Brad

Signature · 3 lines
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams