Sorry for a repost. I didn't include some important parts for this how-to. First off get this package from LSI. http://www.lsilogic.com/downloads/license.do?id=2000&did=7776&pid=2411 It is the driver package for SuSe 9.1. In that driver package is a directory called Utilities/MegaMON. In MegaMON is a file named lsi_v35.tgz. Do a tar -xzvf lsi_v35.tgz. This is the monitor app you will need. Then do a "./install -suse". This will install the binaries and install the startup script of raidmon in /etc/init.d and set itself to start on the runlevels 2,3,4,5. If the raidmon script does not get installed just copy it to the /etc/init.d directory. I have modified my raidmon file to include some other items. Below is mine: ------------------------------------------------------------ #!/bin/sh # # chkconfig: 2345 20 80 # description: RAIDMon is a daemon that monitors the RAID subsystem # And generates e-mail to root # processname: MegaServ. # source function library . /lib/lsb/init-functions case "$1" in start) megadevice="megadev0" rm -f /dev/$megadevice 2>/dev/null megamajor=`cat /proc/devices|gawk '/megadev/{print$1}' ` mknod /dev/$megadevice c $megamajor 0 2>/dev/null # New check: 10-31-01: Does node exist if [ ! -c /dev/$megadevice ] then echo " Character Device Node /dev/$megadevice does not exist. Raid Monitor could not be started " exit 1 fi echo -n 'Starting RAID Monitor:' startproc /usr/sbin/MegaCtrl -start > /dev/null sleep 1 ; MegaCtrl -disMail touch /var/lock/subsys/raidmon MegaCtrl -enChkCon # check consistency on a Saturday at 01:00 very 4 weeks MegaCtrl -cons -h01 -w4 -d6 echo ;; stop) echo -n 'Stopping RAID Monitor:' startproc /usr/sbin/MegaCtrl -stop megadevice="megadev0" rm -f /dev/$megadevice 2>/dev/null rm -f /var/lock/subsys/raidmon 2>/dev/null echo ;; restart|reload) $0 stop $0 start ;; *) echo "RAID Monitor is not Started/Stopped" echo "Usage: raidmon {start|stop|restart}" exit 1 esac exit 0 ----------------------------------------------------------------------- Then just start the raidmon. "/etc/init.d/raidmon start". The above changes tell my system to do a consistency check once a month at 1:00am. This makes sure my RAID5 is working like it should. Also note there will be a log file of /var/log/megaserv.log. Next create this file "/usr/local/sbin/check_raid.sh" for checking the logfile for errors: --- START SCRIPT --- #!/bin/sh # Simple RAID check script. Relies on consistency check run by /etc/init.d/raidmon at # 01:00 every day. # This is then run by roots crontab at 04:30 everyday. HOST=`hostname` MAILTO="<your email>" if grep -iq fail /var/log/megaserv.log then date | mail -s "$HOST has a RAID array problem" $MAILTO fi exit 0 --- END SCRIPT --- Then setup a cron job to check the log file for errors every hour or whatever time you want. I check every day at 4:30am. Some might want to check more often. As root do a "crontab -e". Then enter: # Check for any reported RAID array errors 30 4 * * * /usr/local/sbin/check_raid.sh I use this setup on about a dozen production machines. It works perfectly. This will work on 32bit and 64bit machines. Brad Dameron Systems Administrator SeaTab Software www.seatab.com