On Monday July 3, [EMAIL PROTECTED] wrote:
> I have Fedora Core 5 installed with mirroring on the Boot partition
> and root partition.  I created a Logical Volume Group on the mirrored
> root partition.
> 
> How does md figure out which partitions are actually specified.  It
> says it stores the uuid in the superblock, but I can't seem to figure
> out where this is, or how to get it.  is it in the partition, or
> volume.

The superblock is near the end of whatever you told md to use for the
array.
 From your 'mdadm --detail' output, I see that means /dev/sda1
/dev/sdb1 /dev/sda2 etc.  The superblock for each partition is near
the end of each partition.

> 
> The reason I'm asking this, I'd like to add two USB 2.0 drives that
> are mirrored, and I would specify the device name (/dev/sdd, /dev/sde)
> for the ARRAY, but I found that the allocation of these device names
> is dependent upon when the drive is inserted into the USB.

You don't need to care about the device name.  Just add the uuid
information to mdadm.conf.  Providing the devices are plugged in,
mdadm will find them.

> 
> I'm going to ask if there is a way to "lock" the volume names for
> devices (I'm thinking by UUID) for USB devices in partitions.
> 

'udev' might have functionality to do this.  But you don't really need
it with mdadm.

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

Reply via email to