Bug#518834: mdadm: I still regulary see these mismatches

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun Mar 8 22:18:44 UTC 2009


Followup-For: Bug #405919
Package: mdadm
Version: 2.6.7.2-1

I changed the cron job so the job is run every sunday.
And I see those mismatches (128 and other powers of 2) every sunday :(

Executing (after the cron job finished):

	# echo repair > /sys/block/md1/md/sync_action
	# echo check > /sys/block/md1/md/sync_action

cleans it up.  But it takes several hours.
I'm doing lvm over raid1 on 2x300GB disks.


Cheers,

-- Package-specific info:
--- mount output
/dev/md0 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/mapper/host-var on /var type ext3 (rw,noatime)
/dev/mapper/host-tmp on /tmp type ext3 (rw,noatime)
/dev/mapper/host-usr on /usr type ext3 (rw,noatime)
/dev/mapper/host-home on /home type ext3 (rw,noatime)
debugfs on /sys/kernel/debug type debugfs (rw)

--- mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=691befca:2b99a30e:4f4523f6:284bcf3e
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=806c611c:8160fc42:8e29fe5e:7c77705f

# This file was auto-generated on Thu, 05 Jun 2008 14:39:36 +0000
# by mkconf $Id$

--- /proc/mdstat:
Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
      486432064 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
      1951744 blocks [2/2] [UU]

unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8     0  488386584 sda
   8     1    1951866 sda1
   8     2  486432135 sda2
   8    16  488386584 sdb
   8    17    1951866 sdb1
   8    18  486432135 sdb2
   9     0    1951744 md0
   9     1  486432064 md1
 253     0    5242880 dm-0
 253     1    5242880 dm-1
 253     2    5242880 dm-2
 253     3   10485760 dm-3
 253     4   10485760 dm-4
 253     5   10485760 dm-5
 253     6    5242880 dm-6
 253     7   31457280 dm-7
 253     8   52428800 dm-8
 253     9  104857600 dm-9

--- initrd.img-2.6.26-1-686-bigmem:
38977 blocks
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/dm-snapshot.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/raid1.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/md-mod.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/dm-log.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/raid456.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/linear.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/dm-mod.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/dm-mirror.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/multipath.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/raid0.ko
lib/modules/2.6.26-1-686-bigmem/kernel/drivers/md/raid10.ko
scripts/local-top/mdadm
sbin/mdadm
etc/mdadm
etc/mdadm/mdadm.conf

--- /proc/modules:
dm_mirror 15872 0 - Live 0xf9375000
dm_log 9220 1 dm_mirror, Live 0xf92b7000
dm_snapshot 15108 0 - Live 0xf9370000
dm_mod 46952 24 dm_mirror,dm_log,dm_snapshot, Live 0xf9330000
raid1 18784 2 - Live 0xf9305000
md_mod 67804 3 raid1, Live 0xf93d3000

--- volume detail:

--- /proc/cmdline
root=/dev/md0 ro vga=795 apm=off irqpoll

--- grub:
kernel		/boot/vmlinuz-2.6.26-1-686-bigmem root=/dev/md0 ro vga=795 apm=off irqpoll
kernel		/boot/vmlinuz-2.6.26-1-686-bigmem root=/dev/md0 ro vga=795 apm=off irqpoll single
kernel		/boot/vmlinuz-2.6.26-1-686 root=/dev/md0 ro vga=795 apm=off
kernel		/boot/vmlinuz-2.6.26-1-686 root=/dev/md0 ro vga=795 apm=off single


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
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-18     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    /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo
ii  sendmail-bin [mail-transport- 8.14.3-5   powerful, efficient, and scalable

mdadm suggests no packages.

-- debconf information:
  mdadm/autostart: true
* mdadm/initrdstart: all
  mdadm/initrdstart_notinconf: false
  mdadm/initrdstart_msg_errexist:
  mdadm/initrdstart_msg_intro:
  mdadm/initrdstart_msg_errblock:
* mdadm/start_daemon: true
* mdadm/mail_to: root
  mdadm/initrdstart_msg_errmd:
  mdadm/initrdstart_msg_errconf:
* mdadm/autocheck: true





More information about the pkg-mdadm-devel mailing list