LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Onboard SATA RAID monitoring and notification (https://www.linuxquestions.org/questions/linux-server-73/onboard-sata-raid-monitoring-and-notification-698433/)

traigo 01-19-2009 03:27 PM

Onboard SATA RAID monitoring and notification
 
I am building a simple server with an onboard SATA controller supporting up to 4 drives setup as RAID 0, 1, or 5. I have one 250g drive that I will use as the primary drive to hold the OS. I want to setup 2 1Tb drives in a RAID 1 mirror using the onboard RAID controller. Can I monitor the status of this array and send notification emails in the event of a change/failure? I'd also like to be able to SSH and see the status. The server will only be used as an rsync box stored at the CEO's house as an additional backup so I can't just go look at it every once and a while to see how it's doing. Distro is optional, but needs to have this support.

MOBO: Biostar MCP6P-M2 - v6.0
http://www.tigerdirect.com/applicati...&sku=B450-2340

Thanks,
Traigo

mostlyharmless 01-20-2009 02:02 PM

I recommend setting up the RAID with mdadm.

mdadm can monitor and automatically send emails; see man mdadm
eg.

Quote:

mdadm --monitor --scan --daemonise > /var/run/mdadm
If config file contains a mail address or alert program, run mdadm in the background in monitor mode monitoring all md devices. Also write pid of mdadm daemon to /var/run/mdadm.
I doubt there's any real advantage to using the onboard RAID controller over mdadm. Usually mobos come with RAID monitoring software for Windows only - maybe you're lucky and you have Linux drivers for the RAID and Linux monitoring software for the RAID, but it is unlikely.


All times are GMT -5. The time now is 01:33 PM.