Bug#588516: missing success/error reporting for checkarray cronjobs

C. Gatzemeier c.gatzemeier at tu-bs.de
Fri Jul 9 09:50:47 UTC 2010


Package: mdadm

As I see the redundancy of arrays is checked monthly (if the machine
happens to run in the early morning of the first sunday of the month).

This seems to happen as a background (kernel) process which only
logs to syslog. The checkarray command run by the cron job does not give
any feedback whether all disks were in sync or if some errors were
found.

This means the disks could start getting bad, the checks may correct
things, but it may go unnoticed until a disk fails completely.

If "checkarray" would wait for the array checks to finish or fail, 
cron could send checkarray's error/success output (possibly just greped
from the syslog) in an email to the admin.





More information about the pkg-mdadm-devel mailing list