Differentiating between dm devices

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

 



There are different classes of dm devices that different utilities may
or may not care about.  Some are intended to represent whole disks (
dmraid ) that can be partitioned.  Some ARE partitions and should
contain filesystems.  Still others are used only internally by the tools
( -real, -cow for lvm, and raid10 subvolumes for dmraid ).  I can not
find any good way to differentiate between these types.

One way of fixing this is to add a new attribute to the device where the
tools creating them can specify a hint about what they are and how they
should be used.  Another way is to embed that information in the UUID.
For instance, logical volumes have UUIDs that start with "LVM-" and
dmraid disks start with "DMRAID-".  Perhaps dmraid partitions could have
their uuids changed to "DMRAIDP-" and internal devices changed to
"DMRAIDI-" and "LVMI-" for dmraid and lvm respectively.

Which of these ways sounds best, or is there a better one I have not
thought of?

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux