[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Lenny upgrade: Can't mount mdadm RAID drive under kernel 2.6.26



Hi,

Just finished "dist-upgrade" to lenny from "etch". It appears that after the upgrade the system can no longer assemble and mount mdadm RAID drives under the etch kernel 2.6.26. I still can assemle and mount my mdadm RAID drives under the kernel 2.6.18 from etch.

Here's some relevant info: 
 
Before the upgrade I had 3 mdadm RAID drives as follows, the system was working fine:
/dev/md1 was mounted as /boot(AID1)
/dev/md2 was mounted as /root (RAID5)
/dev/md3 was mounted as /swap (RAID5)

# cat /etc/mdadm/mdadm.conf
ARRAY /dev/md1 level=raid1 num-devices=3 UUID=bdf8a211:fcf6d2af:d7771298:fac716d3
   devices=/dev/sda1,/dev/sdb1,/dev/sdc1
ARRAY /dev/md2 level=raid5 num-devices=3 UUID=2ed75bfb:aed804cd:7cc7e04b:e56f1452
   devices=/dev/sda2,/dev/sdb2,/dev/sdc2
ARRAY /dev/md3 level=raid5 num-devices=3 UUID=3232181c:698319a1:67aa3321:ae8fa7a3
   devices=/dev/sda3,/dev/sdb3,/dev/sdc3
MAILADDR root



The following is what I see on the screen while booting the system under kernel 2.6.26 before it drop into BusyBox. Note the system appears to be able to assemble some mysterious /dev/md0 out of nowhere, when I should've only had /dev/md1, /dev/md2, /dev/md3:

....
Begin: Mounting root file system...
Begin: Running /scripts/local-top...
....
Success: loaded module raid1
Success: loaded module raid456
....
Begin: Assembling all MD arrays...
md: md0 stopped
md: bind<sdb>
md: bind<sdc>
md: bind<sda>
raid5: device sda operational as raid disk 0
raid5: device sdc operational as raid disk 2
raid5: device sdb operational as raid disk 1
raid5: allocated 3170 kB for md0
raid5: raid level 5 set md0 active with 3 out 3 devices
raid5 conf printout:
rd:3 we:3
disk 0, 0:1, dev:sda
disk 1, 0:1, dev:sdb
disk 2, 0:1, dev:sdc
mdadm: /dev/md0 has been started with 3 drives.
....
md: md1 stopped
mdadm: no devices found for /dev/md1
mdadm: no devices found for /dev/md2
mdadm: no devices found for /dev/md3
Success: assembled all arrays
Begin: running /scripts/local-premount...
kinit: name_to_dev_t(/dev/md3)=md3(9,3)
....
Read error on swap_device (9:3:0)
mount: mounting /dev/md2 on /root failed: No such device
Begin: Running /scripts/init-bottom...
mount: mounting /dev on /root/dev failed: No such file or directory
....
BusyBox v1.10.2
(initramfs)



Any ideas? Thanks



      


Reply to: