All of lore.kernel.org
 help / color / mirror / Atom feed
* mdadm: no more mails during monthly scrubbing under Jessie
@ 2017-01-03 12:55 Hans Kraus
  2017-01-04  2:14 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Kraus @ 2017-01-03 12:55 UTC (permalink / raw)
  To: Linux-RAID

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.

Kind regards,
Hans


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mdadm: no more mails during monthly scrubbing under Jessie
  2017-01-03 12:55 mdadm: no more mails during monthly scrubbing under Jessie Hans Kraus
@ 2017-01-04  2:14 ` NeilBrown
  0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2017-01-04  2:14 UTC (permalink / raw)
  To: Hans Kraus, Linux-RAID

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-04  2:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 12:55 mdadm: no more mails during monthly scrubbing under Jessie Hans Kraus
2017-01-04  2:14 ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.