I have a raid system on debian:
Disk /dev/sda: 320.1 GB,...
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ fd Linux raid autodetect
/dev/sda2 2433 2918 3903795 fd Linux raid autodetect
/dev/sda3 2919 38913 289129837+ fd Linux raid autodetect
Disk /dev/sdb: 320.1 GB, ...
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2432 19535008+ fd Linux raid autodetect
/dev/sdb2 2433 2918 3903795 fd Linux raid autodetect
/dev/sdb3 2919 38913 289129837+ fd Linux raid autodetect
# df -h
/dev/md0 19G 12G 6,0G 66% / type ext3 (rw)
/dev/md2 272G 245G 25G 91% /var type ext3 (rw)
I would like to check if everything is running fine and configure it, so I will get an email if any error occurs.
the only line in my /etc/smartd.conf
is:
DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
will that scan those 2 raid devices?
And in my /etc/cron.d/mdadm
there is this line:
57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi
in /usr/share/mdadm/checkarray
it sais: it initiates a check run of an MD array's redundancy information