LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2006, 12:36 PM   #1
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Rep: Reputation: 15
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?
 
Old 07-11-2006, 06:07 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
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.
 
Old 07-11-2006, 09:17 PM   #3
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Original Poster
Rep: Reputation: 15
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dmraid vs mdadm M K Linux - Software 1 02-14-2006 01:54 PM
mdadm: configuration? Silver925 Linux - Newbie 5 05-25-2005 04:01 PM
multipathing - mdadm da_kidd_er Linux - General 0 05-19-2005 07:28 PM
Can I use mdadm to get the SoftRaidlist? Friarchen Linux - Software 0 09-10-2004 03:56 AM
do you know mdadm? Coldburn Linux - Newbie 1 08-31-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration