Bug#556610: Please do incremental checks every night instead of a full monthly one
martin f krafft
madduck at debian.org
Tue Nov 17 08:29:41 UTC 2009
also sprach Goswin von Brederlow <goswin-v-b at web.de> [2009.11.17.0558 +0100]:
> Neil Brown recently explained on the linux-raid ML that one can do
> partial checks on a raid array:
>
> | If you first read from 'sync_completed' and store that value,
> | then before starting a new 'check', write the value to
> | sync_max, then you get exactly what you are asking for, all
>
> I assume he ment sync_min here.
>
> | easily done in a shell script.
> | You can also set 'sync_max' if you like, thus you could e.g.
> | quite easily have a cron job that scrubs 1/28th of the array each
> | night based on the day of the month.
>
> I think it would be a good idea to change the default check to run
> like this, a little every day or week with /etc/default/mdadm saying
> which of the two.
I like the idea but won't have the time to implement this anytime
soon. Patches welcome.
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20091117/c9d7fafe/attachment.pgp>
More information about the pkg-mdadm-devel
mailing list