Linux RAID

31 Mar

To monitor RAID:
/sbin/mdadm –monitor -1 /dev/md1 –mail iisjsoo@imvs.sa.gov.au

For each device.

I put this in cron.daily.

To test this to make sure its working use ‘-t’, e.g.:
/sbin/mdadm –monitor -1 /dev/md1 –mail iisjsoo@imvs.sa.gov.au -t

I *think* that /etc/init.d/mdmonitor should do the monitoring, (edit /etc/mdadm.conf to specify the email address), but i wasn’t sure it was working so i put in the crontab too.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: