Numbering of md devices

Michael Hipp Michael
Wed Nov 15 06:57:55 PST 2006


How do I nail down the numbering order of mdx devices?

I have this arrangement:

   md0  /dev/sda1  /boot
   md1  /dev/sda2  /(root)
   md2  /dev/sda3  <swap>
   md3  /dev/hda5  /home

I added another RAID1 device based on /dev/hdc1. It stupidly gives me this 
arrangement (and, of course, won't boot):

   md0  /dev/hdc1
   md1  /dev/sda1  /boot
   md2  /dev/sda2  /(root)
   md3  /dev/sda3  <swap>
   md4  /dev/hda5  /home

How can I somewhere set in concrete the enumeration/ordering of the md devices?

Thanks,
Michael



More information about the Linux-users mailing list