Software RAID status
I have a system running Slackware 9.0 (2.4.20 kernel). I have a RAID1 running on two drives. I want to check for the status of the array, but when I cat /proc/mdstat I get the same response when both drives are running, and when I "fail" one of the drives (kill power to the drive). What can I check to determine the health of the two drives in the array?? I want to awk and sed in order to automatically generate an email on failure of one of the drives.
Thanks in advance for you help.