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.

(Ubuntu 10.10 + mdadm 3.1.4) I have my raid described in /etc/mdadm/mdadm.conf:

HOMEHOST <system>    
ARRAY metadata=imsm UUID=46e68921:eea24d1d:e933eee8:192d55bc
ARRAY /dev/md/Volume0 container=46e68921:eea24d1d:e933eee8:192d55bc member=0  
UUID=b39c8d9d:ab2fcd08:f4559292:981754f1

I have also done the following:

update-initramfs –k all –u

BUT my RAID does not automatically assemble upon boot. I actually have to run the following on command line:

sudo mdadm -As

in order for the RAID to initialize. I read that you are supposed to run that update-initramfs command if you change your mdadm.conf, but it appears that it didn't really do anything. What am I missing?

share|improve this question
    
What does grep DEVICE /etc/mdadm/mdadm.conf report? –  Steven Monday Jun 20 '11 at 19:33
    
@Steven Monday - it is empty. –  Sandra E Jun 20 '11 at 19:57

1 Answer 1

make sure your initramfs includes the correct modules, eg

echo raid1 >> /etc/initramfs-tools/modules
update-initramfs -u

those are needed to detect/assemble the raid during boot

share|improve this answer

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.