On 2012-05-10, Phil Turmel <philip@xxxxxxxxxx> wrote: > > I do them weekly... the following is called from my crontab: > > #!/bin/bash > # > # Weekly Cron Job to initiate RAID scan/repair cycles > for x in /sys/block/md*/md/sync_action ; do > echo check >$x > done > # Process occurs in background kernel tasks Actually RHEL/CentOS has a nice utility script that will check your arrays and emit an error via stdout/stderr if any mismatches are found. Obviously you could have a separate cron job to check mismatch_cnt but I think it's handy to have the check and the report self-contained--if your cron is properly configured you'll get email on any mismatches. It also has a config file where you can choose to ignore some arrays, run a check on others, and run a repair on others. (Presumably other distros may have something similar.) --keith -- kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx -- 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