Re: mismatch_cnt again

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

 



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@xxxxxxxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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