Bug#539154: mdadm: Keeps detecting NewArray events as fast as the CPU goes

Casper Gielen casper at gielen.name
Thu Jul 23 10:46:39 UTC 2009


Package: mdadm
Version: 3.0-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My syslog is filling up with the following message, at about 10 per second:
Jul 23 12:34:01 vodka mdadm[6677]: NewArray event detected on md device /dev/md0
The messages are generated by mdadm-raid which uses up 100% cpu.

This is probably caused by a broken harddisk that was removed from the system.
This harddisk was used in two arrays, md6 (raid6) and md0 (raid0). The raid6 array
works fine, but the md0 array is constantly redetected (I know it can't be assembled).

/proc/mdadm
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md2 : active raid0 hde1[0] hdg1[3] sdb1[2] hdc1[1]
      42957312 blocks 64k chunks

md6 : active raid6 sdb5[0] hde5[3] hdg5[2] hdc5[1]
      319435968 blocks level 6, 64k chunk, algorithm 2 [5/4] [UUUU_]

md0 : inactive hde6[0]
      9767424 blocks

unused devices: <none>


/etc/madadm/mdadm.conf
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=raid0 num-devices=2 UUID=d8438e3b:9d6ce068:91b39ec9:b6d7a30b
ARRAY /dev/md6 level=raid6 num-devices=5 UUID=978f79ab:eda7bccc:91b39ec9:b6d7a30b
ARRAY /dev/md2 level=raid0 num-devices=4 UUID=9a30244a:d979c88f:91b39ec9:b6d7a30b




- -- Package-specific info:

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
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.9-21     GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  makedev                       3.3.8.2-0  Creates device files in /dev
ii  udev                          0.141-1    /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  module-init-tools             3.9-2      tools for managing Linux kernel mo
ii  nullmailer [mail-transport-ag 1:1.04-1.1 simple relay-only mail transport a

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpoP4QACgkQIhQIPPgOSvcUJQCfXsu/iJ72bWY7DxQFb2NFnrXY
Ja4AmwVsPm0GKWup+ZlBzyZBR1asB/jR
=vKKY
-----END PGP SIGNATURE-----





More information about the pkg-mdadm-devel mailing list