Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
have you changed the partition IDs to RAID autodetect? (set 1 raid on in parted) –  Hubert Kario Oct 18 '10 at 21:36
    
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. –  Jasper Oct 19 '10 at 11:11
    
Do you have your RAID described in /etc/mdadm.conf? –  poige Feb 28 '11 at 18:41

1 Answer 1

You may need to create /etc/mdadm.conf and possibly rebuild initramfs. Check this answer for details.

share|improve this answer
    
yes, I have the /etc/mdadm/mdadm.conf (this being Debian) and it's correct and I did update the initramfs and checked it and it's correct. I can also see that the initramfs 'knows' it's correct, because I can assemble with mdadm --assemble --scan (in initramfs shell). –  Jasper Nov 25 '11 at 14:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.