Re: mail notification of raid problems on 2.6.12

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

 



On Sat, Nov 15, 2008 at 03:41:43PM +0000, Twigathy wrote:
> >From the mdadm manpage, you need to do "mdadm --monitor --test --scan"
> (Or possible an md device name) to get it to send you some test mails.
> I just checked it on my ubuntu server machine and it performs as
> expected with the following software:
> kernel 2.6.24-21-generic
> mdadm - v2.6.3 - 20th August 2007 (Yikes! That's pretty old. I really
> ought to dist-upgrade!)

Thanks, that worked, even on my old old setup.

I will add info on this on the wiki.

Best regards
keld

> Tom
> 
> 2008/11/15 Keld Jørn Simonsen <keld@xxxxxxxx>:
> > On Sat, Nov 15, 2008 at 09:54:13AM -0500, berk walker wrote:
> >> Keld Jørn Simonsen wrote:
> >> >On Thu, Oct 23, 2008 at 03:40:00PM +0200, Keld Jørn Simonsen wrote:
> >> >
> >> >>Hi list
> >> >>
> >> >>how do I get mail notification on kernel 2.6.12, mdadm v1.12.0?
> >> >>I have looked in the man pages and tried various ways, but
> >> >>without luck till now.
> >> >>
> >> >
> >> >I got no answers for this. Is it really not possible, or is this
> >> >irrelevant to this list?
> >> >
> >>
> >> Look a bit deeper into mdadm manage -m (mail)  the delivery of the mail,
> >> sound effects, etc need to be excecuted by your system.
> >
> > Well, --manage -m did not work, mdadm says:
> >
> > mdadm: option m not valid in manage mode
> >
> > mdadm - v1.12.0 - 14 June 2005
> > That is the version I run as this is maintained by my OS vendor.
> >
> > And I did test mdadm --manage -m before asking my first question.
> >
> > Now mdadm --monitor --scan did not complain about my MAILADDR
> > line in /etc/mdadm.conf . But I would like to test it, and
> > mdadm --manage -t is not allowed. How do I trigger a message?
> >
> > Best regards
> > keld
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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