Newb question: Auto assembling of RAID10 (imsm) on boot
am 20.06.2011 14:33:57 von Sandra EscandorHello,
I'm using mdadm 3.1.4 (built from source) and I have a
/etc/mdadm/mdadm.conf with the following:
HOMEHOST Volume0
ARRAY /dev/md/imsm_container metadata=imsm UUID=...
ARRAY /dev/md/Volume0 container=.... Member = 0 UUID=...
And I can assemble the array on command line like so: mdadm -As.
but, I am not too sure what I should do with the initramfs in order for
the system to recognize that it should actually assemble the RAID when
it boots. What I've done is the following:
After I changed my /etc/mdadm/mdadm.conf, I did an update-initramfs -k
all -u.
I did a: zcat /boot/initrd.img-2.6.35-28-generic | cpio -idv into a
/tmp/initrd folder,
but I didn't see a etc/mdadm/mdadm.conf under the /tmp/initrd folder
that I created. I also restarted the server to see if I would be able to
see /dev/md* that should be there if the RAID has been auto-assembled,
but it didn't exist on startup. I had to assemble the array on the
command-line...What am I missing?
Thanks,
Sandra
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html