LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mdadm and booting (https://www.linuxquestions.org/questions/linux-software-2/mdadm-and-booting-463013/)

Boss Hoss 07-11-2006 12:36 PM

mdadm and booting
 
SuSe10.1 distro mdadm installed to run on boot.

BUT the system doesn't work as if I use the daemon launch in command line

Code:

mdadm --monitor --mail=me@my.com --delay=1800 /dev/md0 &
So how do I change the way in which mdadm is launched on boot to behave like the line above?

WhatsHisName 07-11-2006 06:07 PM

Assuming your goal is to set the email address, you should be able to add MAILADDR to mdadm.conf for standard reporting.

mdadm.conf:
Code:

DEVICE partitions
MAILADDR me@my.com
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=1c661ae4:818165c3:3f7a4661:af475fda
  devices=/dev/sdb3,/dev/sdc3
etc., etc., etc.

Usage is described in the mdadm.conf man page.

Boss Hoss 07-11-2006 09:17 PM

yes I have that line. and the mdadmd is running. but when I created a faulty drive condition, i did not get any notifications to me@my.com. I then started the mdadmd using the line above and THEN I got notification at me@my.com.

I just checked my system email and I did get notifications to that account even though I had the MAILADDR line in /etc/mdadm.conf

so my system is not using this file?


All times are GMT -5. The time now is 02:29 AM.