On 02/04/2010 12:49, John Robinson wrote:
I have just replaced one of the drives in my RAID-5 array which was showing offline uncorrectable and current pending sectors. I took the system down into single-user mode, failed the disc out of the array, dd_rescue'd the disc to a fresh one, and added the new disc back into the array. During the dd_rescue, 68k of 1TB failed, about 1MB from the end of the disc. My array has a write-intent bitmap so the resync was very quick. So now I have an active, theoretically synchronised RAID-5, and I know some 68k on one of the discs is likely rubbish.
Turns out not to be a problem. I ran a check>/sys/block/md1/md/sync_action and got no mismatches, which I guess means there isn't a problem. This probably means it was an unused portion of the disc so 00 ^ 00 == 00 or whatever.
I'd still be interested in a solution to this in case something similar comes up again.
Cheers, John. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html