On 27/12/2010 15:18, Laurent Pinchart wrote: [...]
livecd ~ # mdadm --assemble --scan mdadm: Container /dev/md/imsm0 has been assembled with 2 drives mdadm: Started /dev/md/vol0_0 with 2 devices
[...]
livecd ~ # mdadm -E --scan ARRAY metadata=imsm UUID=480da1d0:8150f280:7dd8425d:bec99c46 ARRAY /dev/md/vol0 container=480da1d0:8150f280:7dd8425d:bec99c46 member=0 UUID=17e28225:34f7c425:eb78aece:05c29a40 livecd ~ # mdadm --assemble --scan mdadm: Container /dev/md/imsm0 has been assembled with 2 drives mdadm: Started /dev/md/vol0 with 2 devices
[...]
Still good so far. The /dev/md/vol0_0 device is now called /dev/md/vol0.
[...]
If I remove the /etc/mdadm.conf file from the initramfs image, the volume is detected as vol0_0 instead of vol0 and the partitions are correctly detected. I don't understand what's going on there, and how I could fix it. Help would be greatly appreciated.
I don't quite get it either, but there's something funny going on with the device name. I don't know if you've a choice in the name or what, but do things run any more smoothly if you edit the mdadm.conf to have ARRAY /dev/md/vol0_0 container= etc? If so, and you don't like the _0, you may be able to rename the array with --update=name when assembling it. Disclaimer: I don't know much about imsm so I don't really know about the device names and whether they can be selected or renamed.
Cheers, John. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html