Re: Confused about UUID mounting and mirrors

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

 



On Tue, 2008-06-17 at 07:19 -0700, michael@xxxxxxxxxxx wrote:

> Using the filesystem ID doesn't work either because /dev/sda, /dev/sdb, 
> and /dev/md0 all have the same UUID since it is a mirror.  How do you 
> tell the system to mount /dev/md0 and not the individual drives which is 
> what it is trying to do now.

Michael,

I'm not sure I understand. My Fedora fstab and grub.conf uses UUID's.

The UUID on the underlying raid devices is different to the filesystem
device. eg. /dev/md0 is RAID1 comprised of /dev/sd[a-d]1

/dev/md0: UUID="d046b3c4-8f1b-4c60-8982-9621cf2ac34c" SEC_TYPE="ext2"
TYPE="ext3" LABEL="BOOT"

/dev/sda1: UUID="bb2b88b1-b1a0-c8f7-2e40-e00de48ff896" TYPE="mdraid"
/dev/sdb1: UUID="bb2b88b1-b1a0-c8f7-2e40-e00de48ff896" TYPE="mdraid" 
/dev/sdc1: UUID="bb2b88b1-b1a0-c8f7-2e40-e00de48ff896" TYPE="mdraid" 
/dev/sdd1: UUID="bb2b88b1-b1a0-c8f7-2e40-e00de48ff896" TYPE="mdraid" 

/etc/fstab:
UUID=d046b3c4-8f1b-4c60-8982-9621cf2ac34c /boot ext3 defaults 1 2

Regards

Clive
-  
Clive Messer <clive@xxxxxxxxxxxxxxxxx>



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