Re: mdadm mail option configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 08:46 PM 29/05/2002 +1000, Neil Brown wrote:

>You need white-space infront of the UUID= bits, as it is continuation
>of the previous line... or did you suffer a mailer word wrap??

Yep, space was there (file generated by mdadm [using 1.0.0 src]). 
(Not used to using Windoze Eudora word wrap ;-) (haven't had time 
to install Debian):

DEVICE /dev/hd*[0-9] /dev/sd*[0-9]
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=8e0114bb:e5b3a608:048bed2d:5fe33724
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=434dd79d:0c046e9b:867e8d98:86bdb5da
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=9a9a2078:44c22d83:25a32457:db7e3783
ARRAY /dev/md5 level=raid1 num-devices=2 UUID=e3254469:34147651:c9298800:5a84cd06
ARRAY /dev/md6 level=raid1 num-devices=2 UUID=80c78ac7:c0f4442a:3dd6517d:57edc79e
MAILADDR jhill@hrpost.com
PROGRAM /usr/local/sbin/raidalert


>Do you have a "/usr/lib/sendmail" or is it somewhere else on your
>system?

/usr/lib/sendmail is a link to /usr/sbin/sendmail (qmail)

>> ------
>> Then, I just have an init script that runs:
>> 
>>       /sbin/mdadm -Fs --delay=600 &
>
>Why 600 (10 minutes)?? I would suggest 60seconds for normal operation
>and 1 second for testing.

Okay, changed. My choice was arbitrary, just assumed it would be 
reasonable -- I'm moving it on to a heavily loaded production server 
and the e-mail isn't constantly monitored so I assumed . . . .

Appreciate the help. As my config is apparently okay, I'll look 
elsewhere for the problem. 

Thanks for a really good program. mdadm seems like a big step up 
for Linux software raid.


>NeilBrown

Jeff Hill

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux