Re: mismatch_cnt again

Eyal Lebedinsky
2009-11-07T22:25:37Z

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.

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.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au)