On 7/29/2011 4:50 AM, Nikolay Kichukov wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Recently on this list it was discussed it is a good practice to perform data scrubbing for some raid levels. Can someone advise what raid levels need that operation scheduled on a regular basis? Perhaps all raid arrays that have: /sys/block/md*/md/sync_action [sync_action] property? For example is it good for raid1 array?
Yes, we run a script every week (different arrays on different nights) that looks like: #!/bin/sh echo check > /sys/block/md0/md/sync_action mdadm --wait /dev/md0 cat /sys/block/md0/md/mismatch_cnt -- 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