Re: checkarray not running or emailing

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

 



On 13/3/20 08:13, Leslie Rhorer wrote:
    Yes, that works just fine, as does the daily email alert whenever an array is degraded, but `checkarray --cron --all --idle` doesn't produce an email.  It starts the array verification on all the arrays, but no status on the processes are sent.

    The normal execution for the script is to submit `echo check >  /sys/block/mdx/md/sync_action` and then exit.  Obviously, the rest of the processes are handled by the scheduler and mdadm. I'm not seeing how anything other than mdadm should be generating the status emails.

I don't get messages from checkarray.

I get them from logcheck after they get dumped in the syslog :

This email is sent by logcheck. If you no longer wish to receive
such mail, you can either deinstall the logcheck package or modify
its configuration file (/etc/logcheck/logcheck.conf).

System Events
=-=-=-=-=-=-=
Mar  1 01:09:17 srv mdadm[4471]: RebuildFinished event detected on md device /dev/md2, component device  mismatches found: 230656 (on raid level 1)


(Lots of errors. One drive supports deterministic read after trim and the other doesn't)

I've never really looked at it any closer than that to be honest.

Brad.
--

An expert is a person who has found out by his own painful
experience all the mistakes that one can make in a very
narrow field. - Niels Bohr




[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