LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How does Slackware notify you about a RAID1 (software) failure? (http://www.linuxquestions.org/questions/slackware-14/how-does-slackware-notify-you-about-a-raid1-software-failure-873888/)

gezley 04-08-2011 10:18 PM

How does Slackware notify you about a RAID1 (software) failure?
 
I was experimenting in virtual machines this evening with software RAID. I found Slackware's method straightforward and intelligible. The README is excellent. I found software RAID setup in Scientific Linux (RH Enterprise clone) and Debian convoluted and confusing.
My only question regarding software RAID in Slackware is how the system notifies you about the failure of one component. I pulled one of the virtual disks offline to deliberately fail the array but I wasn't notified when rebooting. I didn't look too deeply into log files to be honest. Can it be set to automatically notify the admin about a failure?

Chuck56 04-08-2011 10:25 PM

Check out mdadm --monitor for email notification of a RAID failure.

gezley 04-08-2011 10:56 PM

Quote:

Originally Posted by Chuck56 (Post 4318697)
Check out mdadm --monitor for email notification of a RAID failure.

Thank you.

mRgOBLIN 04-09-2011 02:55 AM

I use this

http://connie.slackware.com/~mrgoblin/files/rc.mdadm

Which assumes you have /etc/mdadm.conf set up correctly

http://connie.slackware.com/~mrgobli...ackware-12.php might have some helpful info

gezley 04-09-2011 12:40 PM

Quote:

Originally Posted by mRgOBLIN (Post 4318815)
I use this

http://connie.slackware.com/~mrgoblin/files/rc.mdadm

Which assumes you have /etc/mdadm.conf set up correctly

http://connie.slackware.com/~mrgobli...ackware-12.php might have some helpful info

Very helpful. Thank you.


All times are GMT -5. The time now is 05:59 PM.