Friday, January 28, 2011

software RAID array not starting in initramfs on Debian.

One of my Debian servers (kernel 2.6.30-AMD64) refuses to start the software RAID array that houses the root partition in initramfs. It dumps me with a busybox console. When I follow the necessary steps to continue booting it works fine (start the array with mdadm -A and then have LVM scan the volumes with pvscan and then vgchange -ay).

I've tried starting with boot options rootdelay=10 to no avail.

Also I've updated the initramfs and unpacked it to inspect whether it really tries to assemble the raid array (it does).

Output before dumping to console :

mount: mounting none on /dev failed: No such device
W: devtmpfs not available, falling back to tpmfs for /dev

and then some lvm messages saying it can't find the volumes holding the root partitions.

Does anybody have a clue how I could fix this?

  • have you changed the partition IDs to RAID autodetect? (set 1 raid on in parted)

    Jasper : yes, well, I didn't change them, they were already set on creation. Under 'Flags' in parted it says raid on all partitions that need to be assembled.

0 comments:

Post a Comment