Package: mdadm Version: 3.0.3-2 Severity: normal I'm adding this problem report to this existing bug, although it may not actually belong here.
The problem is that md1 is not being autoassembled correctly inside the initrd. Looking at this bug report, I thought it was because /usr/share/mdadm/mkconf was giving me the following: --- ARRAY /dev/md/1 metadata=1.2 UUID=91f9320d:8ddb3ac4:21bc856d:73baef7e name='sewelllexus':1 But even removing the metadata=1.2 and changing the array name to /dev/md1 (as you see it below after my modification, and also in my current initrd) does not allow the array to be properly assembled inside initrd. Running: --- mdadm -A /dev/md1 /dev/sd[ab]2 does correctly assemble the array from inside the initrd after it fails to find vg0-root. Following that with 'lvm' and 'pvscan; vgchange -a y' and then quitting out of lvm and the initramfs gives me a bootable, working system. Let me know if I can provide any more information related to this issue. As of right now, rebooting this machine is a manual process every time which is less than ideal of course. -- Package-specific info: --- mount output /dev/mapper/vg0-root on / type ext3 (rw,data=journal,acl,user_xattr,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) 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) /dev/md0 on /boot type ext3 (rw,data=journal,acl,user_xattr) /dev/mapper/vg0-tmp on /tmp type ext3 (rw,data=journal,acl,user_xattr) /dev/mapper/vg0-var on /var type ext3 (rw,data=journal,acl,user_xattr) /dev/mapper/vg0-usr on /usr type ext3 (rw,data=journal,acl,user_xattr) /dev/mapper/vg0-home on /home type ext3 (rw,data=journal,acl,user_xattr) --- 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 UUID=765eb991:611e96f6:18bef4d6:49d85165 ARRAY /dev/md1 UUID=91f9320d:8ddb3ac4:21bc856d:73baef7e name='sewelllexus':1 # This configuration was auto-generated on Wed, 30 Dec 2009 14:48:04 -0600 # by mkconf 3.0.3-2 --- /proc/mdstat: Personalities : [raid1] md1 : active raid1 sdb2[0] sda2[2] 142367958 blocks super 1.2 [2/2] [UU] md0 : active raid1 sdb1[0] sda1[1] 1003904 blocks [2/2] [UU] unused devices: <none> --- /proc/partitions: major minor #blocks name 8 16 143374740 sdb 8 17 1004031 sdb1 8 18 142368030 sdb2 8 0 143374744 sda 8 1 1004031 sda1 8 2 142368030 sda2 9 0 1003904 md0 9 1 142367958 md1 253 0 1048576 dm-0 253 1 4194304 dm-1 253 2 1048576 dm-2 253 3 4194304 dm-3 253 4 8388608 dm-4 253 5 41943040 dm-5 --- initrd.img-2.6.30-2-amd64: 49429 blocks 4c84c676f2d19b0dae17d1c5d91401c3 ./etc/mdadm/mdadm.conf 7966ccb72128e7a86d09b7c3b5df7557 ./sbin/mdadm 3c33b6068a91402431f25ab2a855fe08 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/raid6_pq.ko fac315a287715e2ca70756f758912cb0 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/md-mod.ko 165fe6c1793eaedea1aa2db2cdb1aed3 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/dm-mirror.ko 3a081ea94071a3e5b2e72dd4c67eb671 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/linear.ko 773eeeefa6a5cdd4930ae7be012e37a6 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/raid10.ko f4762b1f0d4f3e303072c637753ce366 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/dm-snapshot.ko 20d388cd4ea7636d903ab522c20a97bb ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/multipath.ko 13b4102c11a94b2d9e300b617c9f806a ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/dm-mod.ko 2fc7df8b12010f788514021ddab80f12 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/raid1.ko 4863981fb1954174ea77b9f476991536 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/dm-region-hash.ko b1538856e0c3b7883940eeb800f68e20 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/raid456.ko 60c056c6dbbd2c46e932f5b25be86354 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/raid0.ko 16ee20acf5405ba0947bdb6cc9cd54b9 ./lib/modules/2.6.30-2-amd64/kernel/drivers/md/dm-log.ko 6b782ae76f866914ec236b2d14b43f24 ./scripts/local-top/mdadm --- /proc/modules: dm_mod 59256 18 - Live 0xffffffffa01b5000 raid1 21104 2 - Live 0xffffffffa01aa000 md_mod 86628 3 raid1, Live 0xffffffffa018f000 --- /var/log/syslog: --- volume detail: /dev/sda is not recognised by mdadm. /dev/sda1: Magic : a92b4efc Version : 0.90.00 UUID : 765eb991:611e96f6:18bef4d6:49d85165 Creation Time : Sat Aug 8 12:50:57 2009 Raid Level : raid1 Used Dev Size : 1003904 (980.54 MiB 1028.00 MB) Array Size : 1003904 (980.54 MiB 1028.00 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Wed Dec 30 22:18:11 2009 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 790919b5 - correct Events : 102 Number Major Minor RaidDevice State this 1 8 1 1 active sync /dev/sda1 0 0 8 17 0 active sync /dev/sdb1 1 1 8 1 1 active sync /dev/sda1 -- /dev/sda2: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : 91f9320d:8ddb3ac4:21bc856d:73baef7e Name : 'sewelllexus':1 Creation Time : Sat Aug 8 11:18:45 2009 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 284735916 (135.77 GiB 145.78 GB) Array Size : 284735916 (135.77 GiB 145.78 GB) Data Offset : 144 sectors Super Offset : 8 sectors State : active Device UUID : 5c4fd1a3:8fb950dc:ed754372:f2240472 Update Time : Wed Dec 30 22:27:35 2009 Checksum : da991aea - correct Events : 1855 Device Role : spare Array State : AA ('A' == active, '.' == missing) -- /dev/sdb is not recognised by mdadm. /dev/sdb1: Magic : a92b4efc Version : 0.90.00 UUID : 765eb991:611e96f6:18bef4d6:49d85165 Creation Time : Sat Aug 8 12:50:57 2009 Raid Level : raid1 Used Dev Size : 1003904 (980.54 MiB 1028.00 MB) Array Size : 1003904 (980.54 MiB 1028.00 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Wed Dec 30 22:18:11 2009 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 790919c3 - correct Events : 102 Number Major Minor RaidDevice State this 0 8 17 0 active sync /dev/sdb1 0 0 8 17 0 active sync /dev/sdb1 1 1 8 1 1 active sync /dev/sda1 -- /dev/sdb2: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : 91f9320d:8ddb3ac4:21bc856d:73baef7e Name : 'sewelllexus':1 Creation Time : Sat Aug 8 11:18:45 2009 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 284735916 (135.77 GiB 145.78 GB) Array Size : 284735916 (135.77 GiB 145.78 GB) Data Offset : 144 sectors Super Offset : 8 sectors State : active Device UUID : 2ffe4711:01769015:3dbc752c:e0c06603 Update Time : Wed Dec 30 22:27:35 2009 Checksum : cce46869 - correct Events : 1855 Device Role : Active device 0 Array State : AA ('A' == active, '.' == missing) -- --- /proc/cmdline BOOT_IMAGE=//vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg0-root ro rootflags=data=journal quiet rootdelay=0 --- grub2: insmod raid set root=(md0) linux //vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg0-root ro rootflags=data=journal quiet insmod raid set root=(md0) linux //vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg0-root ro single rootflags=data=journal insmod raid set root=(md0) linux //vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg0-root ro rootflags=data=journal quiet insmod raid set root=(md0) linux //vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg0-root ro single rootflags=data=journal --- grub legacy: kernel /vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg0-root rootflags=data=journal ro kernel /vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg0-root rootflags=data=journal ro --- udev: ii udev 149-1 /dev/ and hotplug management daemon 4a574fcd059040d33ea18a8aa605a184 /lib/udev/rules.d/64-md-raid.rules --- /dev: brw-rw---- 1 root disk 9, 0 2009-12-30 22:18 /dev/md0 brw-rw---- 1 root disk 9, 1 2009-12-30 22:17 /dev/md1 /dev/disk/by-id: total 0 lrwxrwxrwx 1 root root 21 2009-12-30 22:18 dm-name-vg0-home -> ../../mapper/vg0-home lrwxrwxrwx 1 root root 21 2009-12-30 22:18 dm-name-vg0-root -> ../../mapper/vg0-root lrwxrwxrwx 1 root root 21 2009-12-30 22:18 dm-name-vg0-swap -> ../../mapper/vg0-swap lrwxrwxrwx 1 root root 20 2009-12-30 22:18 dm-name-vg0-tmp -> ../../mapper/vg0-tmp lrwxrwxrwx 1 root root 20 2009-12-30 22:18 dm-name-vg0-usr -> ../../mapper/vg0-usr lrwxrwxrwx 1 root root 20 2009-12-30 22:18 dm-name-vg0-var -> ../../mapper/vg0-var lrwxrwxrwx 1 root root 21 2009-12-30 22:18 dm-uuid-LVM-aekf649PPHc0n7pkPgrDuUXaytVAlSBv5TWNTeGELNnOj4yZhb0Fey7X9bIr4xKl -> ../../mapper/vg0-swap lrwxrwxrwx 1 root root 20 2009-12-30 22:18 dm-uuid-LVM-aekf649PPHc0n7pkPgrDuUXaytVAlSBv6pYkR4QtQjp6id3E1cfVwGjjWRLMS692 -> ../../mapper/vg0-var lrwxrwxrwx 1 root root 20 2009-12-30 22:18 dm-uuid-LVM-aekf649PPHc0n7pkPgrDuUXaytVAlSBv7HmkSh0L3ydw7YeCWHy1gU1It19BtZdy -> ../../mapper/vg0-tmp lrwxrwxrwx 1 root root 20 2009-12-30 22:18 dm-uuid-LVM-aekf649PPHc0n7pkPgrDuUXaytVAlSBvhmnF4amVkN1e25C2orsRtw1vZaC8cWd9 -> ../../mapper/vg0-usr lrwxrwxrwx 1 root root 21 2009-12-30 22:18 dm-uuid-LVM-aekf649PPHc0n7pkPgrDuUXaytVAlSBvpnxedqdEuI5nYZ371cJa64ozoUdNfL5B -> ../../mapper/vg0-root lrwxrwxrwx 1 root root 21 2009-12-30 22:18 dm-uuid-LVM-aekf649PPHc0n7pkPgrDuUXaytVAlSBvzKZlXEY5g7DKMqz54HrurdSke93xRJvh -> ../../mapper/vg0-home lrwxrwxrwx 1 root root 9 2009-12-30 22:16 md-uuid-765eb991:611e96f6:18bef4d6:49d85165 -> ../../md0 lrwxrwxrwx 1 root root 9 2009-12-30 22:17 md-uuid-91f9320d:8ddb3ac4:21bc856d:73baef7e -> ../../md1 lrwxrwxrwx 1 root root 9 2009-12-30 22:16 scsi-35000c50004f543ef -> ../../sda lrwxrwxrwx 1 root root 10 2009-12-30 22:16 scsi-35000c50004f543ef-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 2009-12-30 22:16 scsi-35000c50004f543ef-part2 -> ../../sda2 lrwxrwxrwx 1 root root 9 2009-12-30 22:16 scsi-35000c50012525b13 -> ../../sdb lrwxrwxrwx 1 root root 10 2009-12-30 22:16 scsi-35000c50012525b13-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 2009-12-30 22:16 scsi-35000c50012525b13-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 9 2009-12-30 22:16 wwn-0x5000c50004f543ef -> ../../sda lrwxrwxrwx 1 root root 10 2009-12-30 22:16 wwn-0x5000c50004f543ef-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 2009-12-30 22:16 wwn-0x5000c50004f543ef-part2 -> ../../sda2 lrwxrwxrwx 1 root root 9 2009-12-30 22:16 wwn-0x5000c50012525b13 -> ../../sdb lrwxrwxrwx 1 root root 10 2009-12-30 22:16 wwn-0x5000c50012525b13-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 2009-12-30 22:16 wwn-0x5000c50012525b13-part2 -> ../../sdb2 /dev/disk/by-label: total 0 lrwxrwxrwx 1 root root 21 2009-12-30 22:18 \x2f -> ../../mapper/vg0-root lrwxrwxrwx 1 root root 9 2009-12-30 22:16 \x2fboot -> ../../md0 lrwxrwxrwx 1 root root 21 2009-12-30 22:18 \x2fhome -> ../../mapper/vg0-home lrwxrwxrwx 1 root root 20 2009-12-30 22:18 \x2ftmp -> ../../mapper/vg0-tmp lrwxrwxrwx 1 root root 20 2009-12-30 22:18 \x2fusr -> ../../mapper/vg0-usr lrwxrwxrwx 1 root root 20 2009-12-30 22:18 \x2fvar -> ../../mapper/vg0-var lrwxrwxrwx 1 root root 21 2009-12-30 22:18 swap -> ../../mapper/vg0-swap /dev/disk/by-path: total 0 lrwxrwxrwx 1 root root 9 2009-12-30 22:15 pci-0000:00:1f.2-scsi-0:0:1:0 -> ../../sr0 /dev/disk/by-uuid: total 0 lrwxrwxrwx 1 root root 21 2009-12-30 22:18 2d3735c4-eb92-4c90-8d2d-dcfa1cc64f79 -> ../../mapper/vg0-home lrwxrwxrwx 1 root root 20 2009-12-30 22:18 52aa54a8-3ca7-4c2f-9dfe-35785c053f35 -> ../../mapper/vg0-var lrwxrwxrwx 1 root root 21 2009-12-30 22:18 661616b8-cf1b-42f2-9ff9-47b3906d320b -> ../../mapper/vg0-root lrwxrwxrwx 1 root root 21 2009-12-30 22:18 6edb3e8e-6219-4d7e-b057-9163e80b51f8 -> ../../mapper/vg0-swap lrwxrwxrwx 1 root root 20 2009-12-30 22:18 a3611c9f-7ccd-490d-b366-f022358becdd -> ../../mapper/vg0-tmp lrwxrwxrwx 1 root root 9 2009-12-30 22:16 d031cc05-9bf7-4e05-b8d0-0251f64f46aa -> ../../md0 lrwxrwxrwx 1 root root 20 2009-12-30 22:18 e46cccfa-3778-4325-a2b3-5f3ca581ad1a -> ../../mapper/vg0-usr /dev/md: total 0 lrwxrwxrwx 1 root root 6 2009-12-30 22:18 1 -> ../md1 Auto-generated on Wed, 30 Dec 2009 22:27:36 -0600 by mdadm bugscript 3.0.3-2 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages mdadm depends on: ii debconf 1.5.28 Debian configuration management sy ii libc6 2.10.2-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 149-1 /dev/ and hotplug management daemo Versions of packages mdadm recommends: ii exim4-daemon-light [mail-tran 4.71-2 lightweight Exim MTA (v4) daemon ii module-init-tools 3.11-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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org