Re: scrub was Re: RAID5 Problem - $1000 reward for help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Does this test stress the discs a lot, like a resync?
>> How long does it take?
>> Can I use it on a mounted array?

> I'd like to add to this question -- does 'check' action on a RAID5 array
> verify the accuracy of parity data, blindly read back all data, or only
> verify readability of data blocks?

The former: it reads all data and verifies the parity.

It's a bit hard to see buried in drivers/md/raid5.c:handle_stripe5(),
which is more than a little intricate.  If you search for
MD_RECOVERY_CHECK in there, you can see where it rewrites the newly
added disk if syncing or just notes the problem if checking.
-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux