Bug#556610: mdadm: Improvement for MD checkarray CRON

Filip Valder valder at boukal.netdevelo.cz
Mon Sep 6 15:59:15 UTC 2010


Package: mdadm
Followup-For: Bug #556610



-- Package-specific info:

IMPORTANT:
  please do not forget to include all relevant system information with this
  bug report. You could run
    /usr/share/bug/mdadm/script 3>&1
  as root and attach or include the output.


-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mdadm depends on:
ii  debconf                   1.5.24         Debian configuration management sy
ii  libc6                     2.7-18lenny4   GNU C Library: Shared libraries
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip
ii  makedev                   2.3.1-88       creates device files in /dev
ii  udev                      0.125-7+lenny3 /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo
ii  postfix [mail-transport-agent 2.5.5-1.1  High-performance mail transport ag

mdadm suggests no packages.

-- debconf information excluded

Following line is much more better for scheduling "fixed random"
checks of mdadm raid devices. Otherwise it's very painful for nodes
connected in a distributed file system to run it each month on 1st
Sunday at 00:57:

0 57 * * * root [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -eq $[1+0x`cat /etc/hostname /etc/hosts /etc/network/interfaces | md5sum | cut -c 1-9`%28] ] && /usr/share/mdadm/checkarray --cron --all --quiet





More information about the pkg-mdadm-devel mailing list