Skip to contentSkip to conversation

mail notification of raid problems on 2.6.12

DISCUSSION Keld Jørn Simonsen 4 participants 7 messages Oct 23, 2008 – Nov 15, 2008 MD RAID

lore
Share & tools
lore
#0 lore raw

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.

Best regards
keld

#1 lore raw
Quoted 5 lines · Keld Jørn Simonsen

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?

Best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 9 lines · Keld Jørn Simonsen
Quoted 5 lines · Keld Jørn Simonsen

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?

Your distro should set it up for you, otherwise set MAILADDR in your mdadm.conf and run mdadm --monitor.

Cheers,

John.

Signature · 7 lines
John Robinson, yuiop IT services
0131 557 9577 / 07771 784 058
46/12 Broughton Road, Edinburgh EH7 4EE
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
In reply to Keld Jørn Simonsen
Quoted 12 lines · Keld Jørn Simonsen
Quoted 6 lines · Keld Jørn Simonsen

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?

Quoted 8 lines

Best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Look a bit deeper into mdadm manage -m (mail) the delivery of the mail, sound effects, etc need to be excecuted by your system.

Berk

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

#4 lore raw
Quoted 10 lines · berk walker
Quoted 9 lines · Keld Jørn Simonsen
Quoted 6 lines · Keld Jørn Simonsen

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.

Quoted 6 lines
Quoted 3 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

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!)

Tom

2008/11/15 Keld Jørn Simonsen <[email protected]>:

Quoted 38 lines · berk walker
Quoted 10 lines
Quoted 9 lines · Keld Jørn Simonsen
Quoted 6 lines · Keld Jørn Simonsen

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.

Quoted 6 lines
Quoted 3 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 7 lines · Twigathy
Quoted 1 line

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

Quoted 41 lines

Tom

2008/11/15 Keld Jørn Simonsen <[email protected]>:

Quoted 38 lines · berk walker
Quoted 10 lines
Quoted 9 lines · Keld Jørn Simonsen
Quoted 6 lines · Keld Jørn Simonsen

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.

Quoted 6 lines
Quoted 3 lines

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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html