Linux Software Raid runs checkarray on the First Sunday of the Month? Why?
- by mgjk
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,