Numbering of md devices

A. Khattri ajai
Wed Nov 15 07:17:58 PST 2006


On Wed, 15 Nov 2006, Michael Hipp wrote:

> 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?

How are you building the arrays? mdadm?


-- 
A



More information about the Linux-users mailing list