Re: mismatch_cnt again

Doug Ledford
2009-11-07T22:57:57Z

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

On 11/07/2009 05:25 PM, Eyal Lebedinsky wrote:
> Doug,
>
> I can only see the cron job start a check:
> echo "check" > /sys/block/$dev/md/sync_action
> It does not wait for completion and does not report the count. Neither is
> the count reported to the system log.
>
> I replaced it with a script that does report.

Or you can updated to a later mdadm package. The one in rawhide has a
fairly well fletched out script now.

> Eyal
>
> Doug Ledford wrote:
>> On 11/07/2009 11:23 AM, Piergiorgio Sartor wrote:
>>> Side note: in F11 there is this cron.weekly raid-check, but
>>> nothing is reported (per email to root) in case of mismatch.
>>> Is there any plan to add a such a facility?
>>
>> Unless you've modified the default cron behaviour, then yes something is
>> reported to the user on a mismatch. The fact that the script goes from
>> being silent to echoing a warning will result in the cron job itself
>> emailing root the output of the script.
>

--
Doug Ledford <dledford@redhat.com>
GPG KeyID: CFBFF194
http://people.redhat.com/dledford

Infiniband specific RPMs available at
http://people.redhat.com/dledford/Infiniband

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]