Mirrored LVM volumes and UUID

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

 



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
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux