mdadm and monitoring
Hi.
Anyone with some experience on mdadm?
I have a running RAID0-array with mdadm and it`s using monitor-mode with an e-mail address.
Anyone knows how to remove that e-mail adress without deleting the raid?
thanx
--
View this message in context: http://www.nabble.com/mdadm-and-monitoring-t1081896.html#a2818693
Sent from the linux-raid forum at Nabble.com.
Quoted 3 lines · discman (sent by Nabble.com)
Hi.
Anyone with some experience on mdadm?
Just about everyone here, I'd hope ;-)
Quoted 3 lines
I have a running RAID0-array with mdadm and it`s using monitor-mode with an e-mail address.
Anyone knows how to remove that e-mail adress without deleting the raid?
It all depends on how you setup mdadm in the first place - or if it was supplied with your distro.
mdadm will be running in monitor mode with flags something like:
/sbin/mdadm -F -i /var/run/mdadm.pid -m root -f -s
The -m flag says who gets emailled. If it's started at boot-time then you'll need to trace through the /etc/init.d/mdadm (probably) file to see where it gets it's parameters from.
Debian (sarge) puts this email address directly in the /etc/init.d/mdadm file, and stoping & starting the monitor process won't have any effect on your array whatsoever.
Gordon