Bug#601198: mdadm: grub does not boot on raid boot
sharif
sharif at shopto.net
Mon Apr 4 09:32:18 UTC 2011
Package: mdadm
Version: 3.1.4-1+8efb9d1
Severity: normal
Not sure if this is right place to post but I have also realised on debian squeeze that when preseeding you cannot have ''boot'' on raid,
also grub does not load if using later version 0.92 with mdadm 1.2 or later.
I had to use lenny to create the software raid then reboot and use squeeze.
-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md0 UUID=4a14cd56:17108661:0f7db2a0:30ed5a00
--- /etc/default/mdadm
INITRDSTART='all'
AUTOSTART=true
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false
--- /proc/mdstat:
Personalities : [raid0]
md0 : active raid0 sda1[0] sdb1[1]
976768896 blocks 64k chunks
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 16 488386584 sdb
8 17 488384512 sdb1
8 0 488386584 sda
8 1 488384512 sda1
9 0 976768896 md0
253 0 195309568 dm-0
253 1 7811072 dm-1
253 2 487424 dm-2
--- LVM physical volumes:
PV VG Fmt Attr PSize PFree
/dev/md0 STRIPE lvm2 a- 931.52g 737.34g
--- mount output
/dev/mapper/STRIPE-Root on / type xfs (rw,noatime,noquota,noikeep,logbufs=8,logbsize=256k)
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/mapper/STRIPE-Boot on /boot type ext3 (rw,noatime)
//readynas1.shopto.lan/farm/ on /mnt/farm type cifs (rw,mand)
--- initrd.img-2.6.32-5-amd64:
57982 blocks
66b331e78a5d2e144888502007345ee9 ./etc/mdadm/mdadm.conf
af8d744ba7aff83e81e57a8fe937ebba ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-mod.ko
29feabe9b71a7b10558e53350069ec12 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-snapshot.ko
92ecfc9a2e87ac0b3e420e359067a3da ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-log.ko
4263c99c099ce98c44f918b76f4a0a37 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-region-hash.ko
8e7ca9a21d02874a16da0af4bc89f11a ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-mirror.ko
9587895c9c222cb210ffc32bf6e0dfe9 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/md-mod.ko
60d9a2be2715a0c19e40f923aa1b20fa ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/linear.ko
6717453035ae8a717eb971f62bc0a784 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/multipath.ko
9bf5ee3e99e68078c9c5957e7ee22ff5 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid0.ko
faa8d6eb5ab9d6b51a91fd0463075619 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid1.ko
8f1cc90b7af27f6111bd2d27e7ab1824 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid6_pq.ko
a977ef56bc8968a20908828e5071e8c6 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid456.ko
031f6630ca9f1d376a48df4fa5678bfa ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid10.ko
06a6acbd64ad4e9dafdfb62347bd7f84 ./sbin/mdadm
f4fbd9099399ab08ba9b9f6c71d77595 ./scripts/local-top/mdadm
--- initrd's /conf/conf.d/md:
MD_HOMEHOST='debian6'
MD_DEVPAIRS='/dev/md0:raid0'
MD_LEVELS='raid0'
MD_DEVS=all
MD_MODULES='raid0'
--- /proc/modules:
dm_mod 53706 9 - Live 0xffffffffa0143000
raid0 5517 1 - Live 0xffffffffa013c000
md_mod 73872 2 raid0, Live 0xffffffffa011f000
--- /var/log/syslog:
--- volume detail:
/dev/sda is not recognised by mdadm.
/dev/sda1:
Magic : a92b4efc
Version : 0.90.00
UUID : 4a14cd56:17108661:0f7db2a0:30ed5a00
Creation Time : Thu Mar 17 00:06:17 2011
Raid Level : raid0
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Thu Mar 17 00:08:16 2011
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : e5bf5168 - correct
Events : 5
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 1 0 active sync /dev/sda1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
--
/dev/sdb is not recognised by mdadm.
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : 4a14cd56:17108661:0f7db2a0:30ed5a00
Creation Time : Thu Mar 17 00:06:17 2011
Raid Level : raid0
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Thu Mar 17 00:08:16 2011
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : e5bf517a - correct
Events : 5
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 17 1 active sync /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
--
--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/STRIPE-Root ro nomodeset
--- grub2:
insmod raid
set root='(STRIPE-Boot)'
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/STRIPE-Root ro nomodeset
insmod raid
set root='(STRIPE-Boot)'
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/STRIPE-Root ro single
--- 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 Mar 31 10:56 /dev/md0
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Mar 31 10:56 ata-ST3500418AS_5VM12EZH -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 31 10:56 ata-ST3500418AS_5VM12EZH-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Mar 31 10:56 ata-ST3500418AS_5VM14V7D -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 31 10:56 ata-ST3500418AS_5VM14V7D-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 31 10:56 dm-name-STRIPE-Boot -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 31 10:56 dm-name-STRIPE-Root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Mar 31 10:56 dm-name-STRIPE-Swap -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 31 10:56 dm-uuid-LVM-CYBe6zFBuKtAVljj1DBaeXJmqutUVzBhB14rFKJdgh4sKt45TAbc3Ka0GR78zvqb -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 31 10:56 dm-uuid-LVM-CYBe6zFBuKtAVljj1DBaeXJmqutUVzBha0G23nqri9xXAfGEAFTdQ3k3Rqxw8w7C -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 31 10:56 dm-uuid-LVM-CYBe6zFBuKtAVljj1DBaeXJmqutUVzBhhIJ5XJhXO5eygZpBMhjBLhI3MqsLfJNF -> ../../dm-0
lrwxrwxrwx 1 root root 9 Mar 31 10:56 md-uuid-4a14cd56:17108661:0f7db2a0:30ed5a00 -> ../../md0
lrwxrwxrwx 1 root root 9 Mar 31 10:56 scsi-SATA_ST3500418AS_5VM12EZH -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 31 10:56 scsi-SATA_ST3500418AS_5VM12EZH-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Mar 31 10:56 scsi-SATA_ST3500418AS_5VM14V7D -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 31 10:56 scsi-SATA_ST3500418AS_5VM14V7D-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Mar 31 10:56 wwn-0x5000c50014216ae2 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 31 10:56 wwn-0x5000c50014216ae2-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Mar 31 10:56 wwn-0x5000c5001428aa3d -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 31 10:56 wwn-0x5000c5001428aa3d-part1 -> ../../sdb1
/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 Mar 31 10:56 Boot -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 31 10:56 Root -> ../../dm-0
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Mar 31 10:56 pci-0000:00:11.0-scsi-2:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 31 10:56 pci-0000:00:11.0-scsi-2:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Mar 31 10:56 pci-0000:00:11.0-scsi-4:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 31 10:56 pci-0000:00:11.0-scsi-4:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Mar 31 10:56 pci-0000:06:00.0-scsi-0:0:0:0 -> ../../sr0
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Mar 31 10:56 0810db92-5a2d-41d8-b07c-c4c2cce3a55f -> ../../dm-0
lrwxrwxrwx 1 root root 10 Mar 31 10:56 9cedb22a-a62d-4bd8-869d-c2178773516a -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 31 10:56 c8d5e15f-5591-46b4-ac2b-dc302d81a3e7 -> ../../dm-2
/dev/md:
total 0
Auto-generated on Mon, 04 Apr 2011 10:31:15 +0100
by mdadm bugscript 3.1.4-1+8efb9d1
-- System Information:
Debian Release: 6.0.1
APT prefers squeeze-updates
APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
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-tran 4.72-6 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/initrdstart_msg_errexist:
mdadm/initrdstart_msg_intro:
mdadm/autostart: true
mdadm/autocheck: true
mdadm/initrdstart_msg_errblock:
mdadm/mail_to: root
mdadm/initrdstart_msg_errmd:
mdadm/initrdstart: all
mdadm/initrdstart_msg_errconf:
mdadm/initrdstart_notinconf: false
mdadm/start_daemon: true
More information about the pkg-mdadm-devel
mailing list