Bug#556610: Please do incremental checks every night instead of a full monthly one

Goswin von Brederlow goswin-v-b at web.de
Tue Nov 17 04:58:11 UTC 2009


Package: mdadm
Version: 3.0-2
Severity: wishlist

Hi,

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.

MfG
	Goswin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable-i386
  APT policy: (1001, 'unstable-i386'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.4-frosties-2 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mdadm depends on:
ii  debconf                       1.5.27     Debian configuration management sy
ii  libc6                         2.10.1-2   GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  makedev                       2.3.1-89   creates device files in /dev
ii  udev                          0.141-1    /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  exim4-daemon-heavy [mail-tran 4.69-11    Exim MTA (v4) daemon with extended
ii  module-init-tools             3.9-2      tools for managing Linux kernel mo

mdadm suggests no packages.

-- debconf information excluded





More information about the pkg-mdadm-devel mailing list