Re: mdadm: no more mails during monthly scrubbing under Jessie

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

 



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: signature.asc
Description: PGP signature


[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