Debian raid-issues

I just downloaded the lasted version of debian installer (net inst) and configured raid in the setup.

Linux sput 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686 GNU/Linux

Using /dev/sda1 as /
Mirror: /dev/sdb1

And /dev/sda2 as swap
Mirror: /dev/sdb2

After finishing the installation and rebooting the system hangs with this error:

mdadm: No devices listed in conf file were found

And does some udev thing again, and after 5-10mins drops out to initramfs-box.

If I do a check there in /dev I cannot find any md0/md1 devices, but if i type "mdadm --assemble /dev/md0" it works. And I can after that mount the disk. I've added 4 modules to initramfs-module-file but doesent work either, I've added "md_mod, sd_mod, md and raid1". I've also rebuilt both the initrd and updated the initramfs and checked the uuid's.

My mdadm.conf looks like this:
DEVICE /dev/sda1 /dev/sda2 /dev/sdb1 /dev/sdb2 (tried with wildcard and partitions, does not work either)

CREATE owner=root group=disk mode=0660 auto=yes

HOMEHOST

MAILADDR root

ARRAY /dev/md0 level=raid1 num-devices=2 UUID=4959fd7f:514abc42:3e6348dd:8fa3e981 devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=02d117bb:38cf249d:5494e028:2b79f6b2 devices=/dev/sda2,/dev/sdb2

Tried wo devices at the end of the line aswell.
--

And fstab:
proc /proc proc defaults 0 0
/dev/md0 / ext3 errors=remount-ro 0 1
/dev/md1 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
--

And grub:
title Debian GNU/Linux, kernel 2.6.24-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/md0 ro
initrd /boot/initrd.img-2.6.24-1-686

title Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/md0 ro single
initrd /boot/initrd.img-2.6.24-1-686

--

If I change root= to /dev/sda1 the system boots up, but the md0 raid shows up as broken (duh)

Personalities : [raid1]
md1 : active(auto-read-only) raid1 sda2[0] sdb2[1]
1381504 blocks [2/2] [UU]

md0 : active(auto-read-only) raid1 sdb1[1]
34178176 blocks [2/1] [_U]

unused devices:

Any ideas? Google gives me nothing, I'm out of ideas :(

0
Syndicate content