linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* resync'ing - what is going on
@ 2008-07-10 16:54 Keld Jørn Simonsen
  2008-07-10 17:45 ` Jon Nelson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Keld Jørn Simonsen @ 2008-07-10 16:54 UTC (permalink / raw)
  To: linux-raid

I would like to know what is going on wrt resyncing, how it is done.
This is because I have some ideas to speed up the process. 
I have noted for a 4 drive raid10,f2 array that only about 25 % of the
IO speed is used during the rebuid, I would like to have something like
90 % as a goal.

This is especially for raid10,f2, where I think I can make it much
better, but posssibly also for other raid types, as input to an
explanation on the wiki of what is really going on. 

Are there references on the net? I tried to look but did not really find
something.

I don't really understand why resync is going on for raid10,f2.
But maybe it checks all of the array, and checks that the two copies are
identical. Is that so? I got some communication with Neil that some
writing is involved in the resync, I don't understand why. 

And what happens if a discrepancy is found? Which of the 2 copies are the
good one? Maybe one could look if there are any CRC errors, or disk read
retries going on. I could understand if it was a raid10,f3 - then if one
was different from the 2 other copies - you could correct the odd copy.

For raid5 and raid6 I could imagine that the parity blocks were cheked.

I could of cause read the code, but I would like an overview before
dwelving into that part.

best regards
keld

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-07-12 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 16:54 resync'ing - what is going on Keld Jørn Simonsen
2008-07-10 17:45 ` Jon Nelson
2008-07-10 18:03 ` Andre Noll
2008-07-11  4:51 ` Neil Brown
2008-07-11 22:29   ` Keld Jørn Simonsen
2008-07-12 10:44     ` Neil Brown
2008-07-12 11:50       ` Keld Jørn Simonsen

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).