All of lore.kernel.org
 help / color / mirror / Atom feed
* [raid] How does raid-check know which piece of data is the correct one
@ 2016-08-19 19:48 David Niklas
  0 siblings, 0 replies; only message in thread
From: David Niklas @ 2016-08-19 19:48 UTC (permalink / raw)
  To: linux-kernel

Hello,
please CC.
I switched to a RAID 5 array about a year ago and I run raid-check every
week, the problem is that I've gotten some corruption of some of my files
over time (HW failure and cable creep have caused the array to need to
rebuild a few times), and I wanted to try to figure it out if this was a
"before I switched to raid problem", or if there may be insufficient
protection from my raid array.
Here is the case where I'm uncertain. If I've got two bytes.
10101010 01010101 then they are probably xor'ed for parity and that would
make it 11111111. Ok, but if one or the other byte or the parity byte are
damaged how does raid-check rectify the problem? How does it know which
one is damaged.

Thanks,
David

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-19 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-19 19:48 [raid] How does raid-check know which piece of data is the correct one David Niklas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.