[linux-lvm] Mirrored LVM volumes and UUID

Alessandro MACUZ alessandro.macuz at gmail.com
Fri Sep 20 11:30:24 UTC 2013


Hi all,

I can't seem to find such answer on the net.

I use mirrored volumes and blkid returns the same UUID for the "raid"
volume and the underlying volumes

/dev/mapper/lvm01-root_mimage_0:
UUID="0b88ad6f-34ed-46d6-abe3-eca0d235b353" TYPE="ext4"
/dev/mapper/lvm01-root_mimage_1:
UUID="0b88ad6f-34ed-46d6-abe3-eca0d235b353" TYPE="ext4"
/dev/mapper/lvm01-root: UUID="0b88ad6f-34ed-46d6-abe3-eca0d235b353"
TYPE="ext4"

Then such ID is used in fstab to mount root based... on UUID.

I wonder how fstab knows that it must use /dev/mapper/lvm01-root and not
the others since the three of them share the same UUID, and if by accident
the others can be erroneusly used/mounted.

Has anyone thought of it? Or it's just me?

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20130920/1dd2e709/attachment.htm>


More information about the linux-lvm mailing list