Re: Is my RAID broken?
From: dean gaudet <hidden>
Date: 2006-11-06 08:17:50
On Mon, 6 Nov 2006, Mikael Abrahamsson wrote:
On Mon, 6 Nov 2006, Neil Brown wrote:quoted
So it looks like you machine recently crashed (power failure?) and it is restarting.Or upgrade some part of the OS and now it'll do resync every week or so (I think this is debian default nowadays, don't know the interval though).
it should be only once a month... and it's just a "check" -- it reads everything and corrects errors. i think it's a great thing actually... way more useful than smart long self-tests because md can reconstruct read errors immediately -- before you lose redundancy in that stripe. -dean % cat /etc/cron.d/mdadm # # cron.d/mdadm -- schedules periodic redundancy checks of MD devices # # Copyright © martin f. krafft [off-list ref] # distributed under the terms of the Artistic Licence 2.0 # # $Id: mdadm.cron.d 147 2006-08-30 09:26:11Z madduck $ # # By default, run at 01:06 on every Sunday, but do nothing unless the day of # the month is less than or equal to 7. Thus, only run on the first Sunday of # each month. crontab(5) sucks, unfortunately, in this regard; therefore this # hack (see #380425). 6 1 * * 0 root [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet