Linux Software Raid runs checkarray on the First Sunday of the Month? Why?

Posted by mgjk on Server Fault See other posts from Server Fault or by mgjk
Published on 2010-11-07T14:20:09Z Indexed on 2011/01/02 4:55 UTC
Read the original article Hit count: 242

Filed under:
|
|

It looks like Debian has a default to run checkarray on the first Sunday of the month.

This causes massive performance problems and heavy disk usage for 12 hours on my 2TB mirror. Doing this "just in case" is bizzare to me. Discovering data out of sync between the two disks without quorum would be a failure anyway.

This massive checking could only tell me that I have an unrecoverable drive failure and corrupt data. Which is nice, but not all that helpful. Is it necessary?

Given I have no disk errors and no reason to believe my disks have failed, why is this check necessary? Should I take it out of my cron?

/etc/cron.d# tail -1 /etc/cron.d/mdadm
57 0 * * 0 root [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet

Thanks for any insight,

© Server Fault or respective owner

Related posts about linux

Related posts about debian