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

- From: \<hidden\>
- Date: 2006-09-21 20:20:08 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2006/09/6598514
- Thread: https://ratatoskr.run/linux-raid/2006/09/6598514/t.md

```text
>> 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.
```
