On Sun, Mar 14, 2010 at 10:23 PM, Simon Matthews <simon.d.matthews@xxxxxxxxx> wrote: > I have just built a system and have it booting off a software raid > partition. The raid sets use devices /dev/md0, /dev/hd1, /dev/md2, > /dev/md3. > > I now need to transfer some additional disks to this system. These > disks are presently in another system where they host a number of raid > sets, currently also /dev/md0 - /dev/md4. > > I need to ensure that the data on the raid set that I am adding to the > system is not lost. However, clearly, I can't have the raid sets on > these disks come up as /dev/md0-md4. How do I ensure this and have > these raid sets come up on /dev/md5 and higher? > > Simon > -- > 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 > Either use an mdadm.conf to specify the mapping of UUID to md device (which will over-ride any auto-detected requests), or use the home-host fallback. Obviously the administrator specifying how they'd prefer mdadm to assemble the drives is preferable. You will probably want to regenerate your initrd; if you are using auto-assembly on root without an initrd, I highly suggest upgrading to use an initrd/initramfs. You might find this one easy to customize for your needs if your distribution lacks one or you dislike the one it generates: http://sourceforge.net/projects/aeuio/ -- 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