From: NeilBrown <neilb@suse.com>
To: Hans Kraus <hans@hanswkraus.com>,
Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: mdadm: no more mails during monthly scrubbing under Jessie
Date: Wed, 04 Jan 2017 13:14:28 +1100 [thread overview]
Message-ID: <87k2abmv0b.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <c2b5cf99-906a-acfe-1a4a-354fb740a8f9@hanswkraus.com>
[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]
On Tue, Jan 03 2017, Hans Kraus wrote:
> Hi,
>
> I recently upgrades my Debian sever from Wheezy to Jessie.
>
> I have the standard configuration, especially the monthly ckeck via the
> cron entry: "57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] &&
> [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all
> --idle --quiet; fi".
>
> Under Wheezy I got progress mails like:
> -------------------------------------------------------------------------
> MD Device: /dev/md/robbe:storage
> Event: Rebuild60
>
> /proc/mdstat:
> Personalities : [raid6] [raid5] [raid4]
> md127 : active raid6 sdk1[0] sde1[9] sdi1[8] sdf[7] sdj1[5] sdg1[4] sdh1[6]
> 19534426880 blocks super 1.2 level 6, 128k chunk, algorithm 2
> [7/7] [UUUUUUU]
> [============>........] check = 60.9% (2381950248/3906885376)
> finish=259.5min speed=97924K/sec
> Action ready: 2016-04-03 12:13:13.949761
>
> unused devices: <none>
> -------------------------------------------------------------------------
> from mdadm system.
>
> I do not get these mails any more. Extensive googling brought nothing
> except some users complaining about theese mails ...
>
> How do I enable theese mails again? I like them as security info that
> all is well with my Raid.
You would probably be better off asking on a Debian help list, or open a
Debian bug. This is a configuration specific to Debian.
I suspect the email was generated by running "mdadm --monitor" and
providing it with a program to run on every event. The program would
have sent the emails.
I only have sid installed and it doesn't seem to provide any such
script.
There is something in /usr/share/doc/mdadm/examples but the script there
doesn't send emails.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2017-01-04 2:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 12:55 mdadm: no more mails during monthly scrubbing under Jessie Hans Kraus
2017-01-04 2:14 ` NeilBrown [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=87k2abmv0b.fsf@notabene.neil.brown.name \
--to=neilb@suse.com \
--cc=hans@hanswkraus.com \
--cc=linux-raid@vger.kernel.org \
/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).