On 12/10/2015 05:44 PM, P. Remek wrote: >> >> Order of device discovery is not guaranteed, but base devices will >> almost always show up before multipath devices. You have to filter out >> the base devices from mdadm consideration: >> >> Add a DEVICES statement to your mdadm.conf that only matches your >> multipath device names, not the base names. Then update your initramfs >> so it applies to early boot as well. >> > > > This is something which I actually already tried. I specified in my > /etc/mdadm/mdadm.conf following: > > DEVICE /dev/mapper/hgst-ssd* > > In my /etc/multipath.conf I instruct dm-multipath to create > /dev/mapper/hgst-ssd1 /dev/mapper/hgst-ssd2 /dev/mapper/hgst-ssd3 You haven't said that you've updated your initramfs with this info. > But the only result is that after this config, the md raid is not > started at all. My conclusion was that when md raid was starting, the > multipath devices did not yet exist so it did not start up the array. That would be an initramfs bug, most likely. Modern initramfs like dracut use incremental assembly to start arrays and subsystems as devices are started, regardless what order they show up. Phil -- 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