Re: Setting up mdadm.conf for UUID?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday July 7, ewan.grantham@xxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux