LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-25-2006, 04:24 PM   #1
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
help with mdadm --monitor (or some other RAID monitoring)


Hi all,

I have an Ubuntu installation with some software RAID 1, but otherwise pretty vanilla. Ultimately, I'd like to get something to pop up on the desktop if there is a RAID problem (doesn't have to be pretty, just text is fine). To this end I've tried "mdadm --monitor --program" with a simple shell script. The shell script just prints an appropriately dire message and the arguments from mdadm.

The problem: when mdadm first starts it runs the script with DeviceDisappeared for each device even though they're fine, and then just sits there and never reports anything again, even when I mark disks as failed and remove them from the array. This happens whether I use --scan or whether I specify the devices explicitly. I'm not running it in the background, so I know mdadm is alive and hasn't printed any errors.

There was a question like this on LinuxQuestions.org (thread 399521, I can't post URLs yet), but it was never answered. I've read the manpages but I didn't see anything I was doing wrong. I've Googled around a lot but all the examples use --mail and that won't work in my case.

Just when I think I'm not a _complete_ noob, something like this comes along .

If anyone has any suggestions I'd appreciate it. Thanks.
 
Old 08-28-2006, 06:13 PM   #2
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Original Poster
Rep: Reputation: 0
any takers?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 04:35 PM
RAID through mdadm rosey Linux - Server 5 04-08-2007 12:57 PM
RAID - mdadm.conf keith ralph Linux - General 4 05-05-2006 10:10 AM
Linux raid with mdadm eyt Linux - Newbie 6 02-07-2006 06:26 AM
What's your preferred way to monitor RAID? mdadm? mattie_linux Linux - General 0 01-04-2006 02:39 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration