Bug#641584: mdadm-raid does not assemble mds on multipath devices

Stefan Bender sbender+debian at mpi-sb.mpg.de
Wed Sep 14 13:39:08 UTC 2011


Package: mdadm
Version: 3.1.4-1+8efb9d1
Severity: minor

Since mdadm and multipath-tools do not depend on each other in their
init.d LSB headers, insserv sorts mdadm-raid before
multipath-tools-boot. This prevents the assembly of MDs on multipath devices.

This can be fixed by changing one line in the LSB header of mdadm-raid to:
# Required-Start:    mountkernfs +multipath-tools-boot

I am unable to determine if this is the right place to fix this but,
so please tell me if I should file this bug against multipath-tools
instead.

Regards
Stefan Bender


-- Package-specific info:

WARNING:
  the following output was not generated by the root user. If you can, please
  replace the following up until "-- System Information:" with the output of
    /usr/share/bug/mdadm/script 3>&1
  run as root. Thanks!

--- mdadm.conf
MAILADDR root
DEVICE /dev/mapper/36[0-9a-f]*
DEVICE /dev/mapper/mpath[0-9]*
ARRAY /dev/md/10 metadata=1.2 UUID=6e0d6ca0:0da408a3:b746774a:cbf58094 name=srv-97-110:10

--- /etc/default/mdadm
INITRDSTART='all'
AUTOSTART=true
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
md10 : active raid1 dm-0[0] dm-1[1]
      1951447928 blocks super 1.2 [2/2] [UU]
      [=======>.............]  resync = 35.0% (683134336/1951447928) finish=188.6min speed=112059K/sec
      
md1 : active raid1 sdd1[1] sdc1[0]
      104857536 blocks [2/2] [UU]
      
md2 : active raid10 sdb2[1] sdd2[3] sda2[0] sdc2[2]
      767054848 blocks 512K chunks 2 near-copies [4/4] [UUUU]
      
md0 : active raid1 sdb1[1] sda1[0]
      104857536 blocks [2/2] [UU]
      
unused devices: <none>

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

   8        0  488386584 sda
   8        1  104857600 sda1
   8        2  383527960 sda2
   8       32  488386584 sdc
   8       33  104857600 sdc1
   8       34  383527960 sdc2
   8       48  488386584 sdd
   8       49  104857600 sdd1
   8       50  383527960 sdd2
   8       16  488386584 sdb
   8       17  104857600 sdb1
   8       18  383527960 sdb2
   9        0  104857536 md0
   9        2  767054848 md2
   9        1  104857536 md1
   8       64 1951449088 sde
   8       80 1951449088 sdf
   8       96 1951449088 sdg
   8      112 1951449088 sdh
   8      128 1951449088 sdi
   8      144 1951449088 sdj
   8      160 1951449088 sdk
   8      176 1951449088 sdl
 253        0 1951449088 dm-0
 253        1 1951449088 dm-1
   9       10 1951447928 md10
 253        2 1951399936 dm-2

--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=writeback)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
varrun on /var/run type tmpfs (rw,nosuid,relatime,size=102400k,mode=755)
tmpfs on /dev type tmpfs (rw,relatime,size=10240k,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
/dev/md2 on /local type xfs (rw,noatime,attr2,sunit=1024,swidth=2048,noquota)
/dev/dm-2 on /fibre type xfs (rw,noatime,attr2,noquota)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/etc/auto.net on /net type autofs (rw,relatime,fd=5,pgrp=6498,timeout=5,minproto=5,maxproto=5,indirect)

--- initrd.img-2.6.38.8.3.amd64-smp:
no initrd.img-2.6.38.8.3.amd64-smp found.

--- /proc/modules:
dm_crypt 15764 0 - Live 0xffffffffa0034000
dm_round_robin 2288 4 - Live 0xffffffffa002e000
dm_multipath 17048 3 dm_round_robin, Live 0xffffffffa001c000
scsi_dh 6128 2 scsi_dh_rdac,dm_multipath, Live 0xffffffffa0003000
dm_mod 65749 10 dm_crypt,dm_multipath, Live 0xffffffffa0081000

syslog not readable by user.
--- volume detail:
/dev/sda not readable by user.
/dev/sda1 not readable by user.
/dev/sda2 not readable by user.
/dev/sdb not readable by user.
/dev/sdb1 not readable by user.
/dev/sdb2 not readable by user.
/dev/sdc not readable by user.
/dev/sdc1 not readable by user.
/dev/sdc2 not readable by user.
/dev/sdd not readable by user.
/dev/sdd1 not readable by user.
/dev/sdd2 not readable by user.
/dev/sde not readable by user.
/dev/sdf not readable by user.
/dev/sdg not readable by user.
/dev/sdh not readable by user.
/dev/sdi not readable by user.
/dev/sdj not readable by user.
/dev/sdk not readable by user.
/dev/sdl not readable by user.

--- /proc/cmdline
auto BOOT_IMAGE=linux ro root=900 console=tty0 console=ttyS1,115200n8

--- lilo:
lilo.conf file not readable.

--- udev:
ii  udev           164-3          /dev/ and hotplug management daemon
4a574fcd059040d33ea18a8aa605a184  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---- 1 root disk 9,  0 Sep 14 15:10 /dev/md0
brw-rw---- 1 root disk 9,  1 Sep 14 15:10 /dev/md1
brw-rw---- 1 root disk 9, 10 Sep 14 15:10 /dev/md10
brw-rw---- 1 root disk 9,  2 Sep 14 15:10 /dev/md2

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 10 Sep 14 15:10 dm-name-mpath0 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 14 15:10 dm-name-mpath1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 14 15:10 dm-name-vg-fibre -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 14 15:10 dm-uuid-LVM-vdPWjM007bSLYlMZlFFrsmz0wbzBFo172rHEMuMMxFvxtGDXDyM8AR5EpuaA2gqT -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 14 15:10 dm-uuid-mpath-3600a0b80002aaa9c0000072b48070a66 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 14 15:10 dm-uuid-mpath-3600a0b800032d298000006c6493f39e2 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 14 15:10 md-name-srv-97-110:10 -> ../../md10
lrwxrwxrwx 1 root root  9 Sep 14 15:10 md-uuid-183e98ae:94952cad:bcc6fb39:721d3ead -> ../../md0
lrwxrwxrwx 1 root root  9 Sep 14 15:10 md-uuid-423c8e39:58374536:bcc6fb39:721d3ead -> ../../md1
lrwxrwxrwx 1 root root 10 Sep 14 15:10 md-uuid-6e0d6ca0:0da408a3:b746774a:cbf58094 -> ../../md10
lrwxrwxrwx 1 root root  9 Sep 14 15:10 md-uuid-9f7c1565:4bfe898b:bcc6fb39:721d3ead -> ../../md2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 scsi-35000c50034605c6b -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c50034605c6b-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c50034605c6b-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 scsi-35000c5003460665f -> ../../sdd
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c5003460665f-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c5003460665f-part2 -> ../../sdd2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 scsi-35000c5003460c807 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c5003460c807-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c5003460c807-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 scsi-35000c5003460cab3 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c5003460cab3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 scsi-35000c5003460cab3-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Sep 14 15:10 scsi-3600a0b80002aaa9c0000072b48070a66 -> ../../sdi
lrwxrwxrwx 1 root root  9 Sep 14 15:10 scsi-3600a0b800032d298000006c6493f39e2 -> ../../sdh
lrwxrwxrwx 1 root root 10 Sep 14 15:10 scsi-mpath0 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 14 15:10 scsi-mpath1 -> ../../dm-1
lrwxrwxrwx 1 root root  9 Sep 14 15:08 wwn-0x5000c50034605c6b -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c50034605c6b-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c50034605c6b-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 wwn-0x5000c5003460665f -> ../../sdd
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c5003460665f-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c5003460665f-part2 -> ../../sdd2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 wwn-0x5000c5003460c807 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c5003460c807-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c5003460c807-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Sep 14 15:08 wwn-0x5000c5003460cab3 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c5003460cab3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 14 15:08 wwn-0x5000c5003460cab3-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Sep 14 15:10 wwn-0x600a0b80002aaa9c -> ../../sdi
lrwxrwxrwx 1 root root  9 Sep 14 15:10 wwn-0x600a0b800032d298 -> ../../sdh

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Sep 14 15:08 pci-0000:05:00.0-fc-0x201400a0b82aaa9c:0x0000000000000000 -> ../../sde
lrwxrwxrwx 1 root root 9 Sep 14 15:10 pci-0000:05:00.0-fc-0x201500a0b82aaa9c:0x0000000000000000 -> ../../sdf
lrwxrwxrwx 1 root root 9 Sep 14 15:08 pci-0000:05:00.0-fc-0x202600a0b832d298:0x0000000000000000 -> ../../sdg
lrwxrwxrwx 1 root root 9 Sep 14 15:10 pci-0000:05:00.0-fc-0x202700a0b832d298:0x0000000000000000 -> ../../sdh
lrwxrwxrwx 1 root root 9 Sep 14 15:08 pci-0000:05:00.1-fc-0x201600a0b832d298:0x0000000000000000 -> ../../sdk
lrwxrwxrwx 1 root root 9 Sep 14 15:10 pci-0000:05:00.1-fc-0x201700a0b832d298:0x0000000000000000 -> ../../sdl
lrwxrwxrwx 1 root root 9 Sep 14 15:08 pci-0000:05:00.1-fc-0x202400a0b82aaa9c:0x0000000000000000 -> ../../sdj
lrwxrwxrwx 1 root root 9 Sep 14 15:10 pci-0000:05:00.1-fc-0x202500a0b82aaa9c:0x0000000000000000 -> ../../sdi

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root  9 Sep 14 15:10 42e3ed5c-7a85-410f-b8b6-27372fbe2c93 -> ../../md0
lrwxrwxrwx 1 root root 10 Sep 14 15:10 5c72f2b1-ceee-48ff-82ef-9c47a9852774 -> ../../dm-2
lrwxrwxrwx 1 root root  9 Sep 14 15:10 7f72f762-0023-4859-b2b9-a6d5676b9514 -> ../../md1
lrwxrwxrwx 1 root root  9 Sep 14 15:10 bb424de7-0e7e-4046-9667-93d50566d02f -> ../../md2

/dev/md:
total 0
lrwxrwxrwx 1 root root 6 Sep 14 15:10 0_0 -> ../md0
lrwxrwxrwx 1 root root 7 Sep 14 15:10 10 -> ../md10
lrwxrwxrwx 1 root root 6 Sep 14 15:10 1_0 -> ../md1
lrwxrwxrwx 1 root root 6 Sep 14 15:10 2_0 -> ../md2

Auto-generated on Wed, 14 Sep 2011 15:31:15 +0200
by mdadm bugscript 3.1.4-1+8efb9d1

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

Kernel: Linux 2.6.38.8.3.amd64-smp (SMP w/80 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf                 1.5.36.1         Debian configuration management sy
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  udev                    164-3            /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail 4.72-6+squeeze2 lightweight Exim MTA (v4) daemon
ii  module-init-tools        3.12-1          tools for managing Linux kernel mo

mdadm suggests no packages.

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





More information about the pkg-mdadm-devel mailing list