From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: mdadm: no more mails during monthly scrubbing under Jessie Date: Wed, 04 Jan 2017 13:14:28 +1100 Message-ID: <87k2abmv0b.fsf@notabene.neil.brown.name> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Hans Kraus , Linux-RAID List-Id: linux-raid.ids --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=20 > [7/7] [UUUUUUU] > [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>........] check =3D 60.9% (= 2381950248/3906885376)=20 > finish=3D259.5min speed=3D97924K/sec > Action ready: 2016-04-03 12:13:13.949761 > > unused devices: > ------------------------------------------------------------------------- > 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlhsWoQACgkQOeye3VZi gbnFtg/+JGkgw7fAyXm/Po2pjadVDcvmwfUlN1E00K/6XPbt9wbVCHQcEwFQvjXq DsDV0huS6RMhm7uCycx2eA+Y+BjN3x+e/UOAiWRdaOI+STsZvq3MmxaDyB67hmBE FANSBIACAVOvLeY19I/NY2KZeHxJfnuM4xqOXGlbv8+1Gc6+RT1Oci4AF5LVKfNx 7GpnhNA3bjCys5Uspk0vXflJjsBGuPzD9kZ0QodiEUwuoeLUq7b4oVPghRr79y5Y RKw2Ft1cOpmFiNYBKB6Vyx8ODM7OpS2wK27neb+bPCEptbtizhJ1X3eAGywBITvq 1/bVCOey+/rKNfjSJhliibUsgmz0c9QYt+MJVjSFOdplG9iHr/ESWo5QRQEdJtLk dXNev4N0OVySI4uI/GYmYJgXokpIoki29ghjpBBmmCYWU5C99JTc8FTR4rlksgSk 1PeU7TN/vvvFcoYP05JfJtv4Y/DUfFJ9RYcIAX++C+tmuqtorfARu4z2+lMaRbyr kktlj+Oh99HyvmWhzakgfK2BoDzEm9ukACIccx+G2TTkJm9mO2QBTLSTWvEAdnuT CX0gK33bVGJULLPuPIXScEN4E8l4s8iuXyAzcgiSc77X/lX1nXxUXx7AQ4DZQZlW G9y8u0KTrHXvNUU4juRS4wcLa+EBX+JfSUPJHDdZNP9IZjGT3hA= =16iE -----END PGP SIGNATURE----- --=-=-=--