* RAID6 on PowerPC is faulty
@ 2005-09-15 4:31 H. Peter Anvin
2005-09-15 4:44 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: H. Peter Anvin @ 2005-09-15 4:31 UTC (permalink / raw)
To: linux-raid
If you have been running RAID6 on a PowerPC with Altivec, your RAID is
not two-disk redundant, due to bad Q syndrome computation.
It *is* one-disk redundant, however.
The following patch will fix it:
http://www.kernel.org/pub/linux/kernel/people/hpa/raid6-altivec-fix.patch
.. however, it will not correct an existing array without rewriting
every stripe.
Neil, is there any way to force md to recompute all the syndromes?
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RAID6 on PowerPC is faulty
2005-09-15 4:31 RAID6 on PowerPC is faulty H. Peter Anvin
@ 2005-09-15 4:44 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2005-09-15 4:44 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-raid
On Thursday September 15, hpa@zytor.com wrote:
> If you have been running RAID6 on a PowerPC with Altivec, your RAID is
> not two-disk redundant, due to bad Q syndrome computation.
>
> It *is* one-disk redundant, however.
>
> The following patch will fix it:
>
> http://www.kernel.org/pub/linux/kernel/people/hpa/raid6-altivec-fix.patch
>
> .. however, it will not correct an existing array without rewriting
> every stripe.
>
> Neil, is there any way to force md to recompute all the syndromes?
mdadm --assemble --update=resync ....
should trigger a resync which should recalculate all P and Q (provided
your array isn't degraded).
This requires shutting the array down of course, but then so would
installing the patch.
I'm planning a feature whereby you can trigger a resync-like pass
which checks all redundancy and either report or reports-and-corrects
errors. It's still a little way off though.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-15 4:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 4:31 RAID6 on PowerPC is faulty H. Peter Anvin
2005-09-15 4:44 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox