E-mail notification when a drive in software RAID fails
Debian/Ubuntu/CentOS
Edit /etc/mdadm/mdadm.conf and add the following line:
MAILADDR example@example.com
You can also optionally configure the sending email address:
MAILFROM mdadm@example.com
For Debian and Ubuntu, you must also set “AUTOCHECK” in the file /etc/default/mdadm to “true”:
# grep AUTOCHECK= /etc/default/mdadm
AUTOCHECK=true
For CentOS, you must enable the check in the file /etc/sysconfig/raid-check:
# grep ENABLED /etc/sysconfig/raid-check
ENABLED=yes
Tag Archives: raid
LSVM raid Check
dmesg |less raid
dmidecode |less
vgdisplay
fdisk -l