* Two RAID6 questions
@ 2006-01-20 13:11 John Rowe
2006-01-20 14:02 ` Brad Campbell
0 siblings, 1 reply; 2+ messages in thread
From: John Rowe @ 2006-01-20 13:11 UTC (permalink / raw)
To: linux-raid
(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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Two RAID6 questions
2006-01-20 13:11 Two RAID6 questions John Rowe
@ 2006-01-20 14:02 ` Brad Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Brad Campbell @ 2006-01-20 14:02 UTC (permalink / raw)
To: John Rowe; +Cc: linux-raid
John Rowe wrote:
>
> 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.
> 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
--
"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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-20 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20 13:11 Two RAID6 questions John Rowe
2006-01-20 14:02 ` Brad Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).