Setting up mdadm.conf for UUID?
My RAID-5 array is composed of six USB drives. Unfortunately, my Ubuntu Dapper system doesn't always assign the same devices to the drives after a reboot. However, mdadm doesn't seem to like having an mdadm.conf that doesn't have a Devices line with specified device names. Anyway to setup an mdadm.conf so that it will just assemble the drives using the UUID of the array? Or is the trick to not have an mdadm.conf and add something to a runlevel script? TIA, Ewan - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Setting up mdadm.conf for UUID?
On Friday July 7, [EMAIL PROTECTED] wrote: My RAID-5 array is composed of six USB drives. Unfortunately, my Ubuntu Dapper system doesn't always assign the same devices to the drives after a reboot. However, mdadm doesn't seem to like having an mdadm.conf that doesn't have a Devices line with specified device names. Sure it does DEVICE /dev/sd* or DEVICE partitions Anyway to setup an mdadm.conf so that it will just assemble the drives using the UUID of the array? Or is the trick to not have an mdadm.conf and add something to a runlevel script? Yes. DEVICE partitions ARRAY /dev/md0 UUID=what:ever:it:ius ARRAY /dev/md1 UUID=uuid:for:md:one NeilBrown - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html