From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Twigathy <twigathy@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mail notification of raid problems on 2.6.12
Date: Sat, 15 Nov 2008 17:06:35 +0100 [thread overview]
Message-ID: <20081115160635.GA8176@rap.rap.dk> (raw)
In-Reply-To: <1f0f1a960811150741s5a44210cw2867f41444b33081@mail.gmail.com>
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@dkuug.dk>:
> > 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@vger.kernel.org
> > 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-11-15 16:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-23 13:40 mail notification of raid problems on 2.6.12 Keld Jørn Simonsen
2008-11-14 15:47 ` Keld Jørn Simonsen
2008-11-14 16:23 ` John Robinson
2008-11-15 14:54 ` berk walker
2008-11-15 15:23 ` Keld Jørn Simonsen
2008-11-15 15:41 ` Twigathy
2008-11-15 16:06 ` Keld Jørn Simonsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081115160635.GA8176@rap.rap.dk \
--to=keld@dkuug.dk \
--cc=linux-raid@vger.kernel.org \
--cc=twigathy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).