I am using the 3ware 9650SE-2LP Raid controller for a 2-drive RAID 1 setup in some new Ubuntu 10.04 x64 servers.
Is there a way for the server to send me a notification when one of the drives fails? I would prefer an e-mail notification if possible. Thanks.
3ware provides 3dm2 monitoring / management program. just look onm their webpage, there is a binary version of it for linux, and it even works fine [under debian at least].
thing is - i never trusted those fancy tools... so i do as follows. so i use own scripts based on tw_cli - also downloadable from 3ware website.
once per week i run patrol read:
and all the time, every 15 minutes i dump current state of raid:
i use very simple nagios plugin to check if current status is identical to expected [ i just compare content of a file to well known status dump that was taken at the beginning ].
you would probably put mailing instead of exit 2... or even more probably use 3dm2.