Thread (8 messages) 8 messages, 5 authors, 2006-09-21

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

From: Rob Bray <hidden>
Date: 2006-09-21 18:45:56

Am Sonntag, 17. September 2006 13:36 schrieben Sie:
quoted
On 9/17/06, Ask Bjørn Hansen [off-list ref] wrote:
quoted
quoted
It's recommended to use a script to scrub the raid device regularly,
to detect sleeping bad blocks early.
What's the best way to do that?  dd the full md device to /dev/null?
echo check >/sys/block/md?/md/sync_action

Distros may have cron scripts to do this "right".

And you need a fairly recent kernel.
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?

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help