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

[linux-lvm] Mirrored LVM volumes and UUID



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

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