[linux-lvm] LVM UUIDs are not UUIDs!?

Ralf S. Engelschall rse at engelschall.com
Thu Sep 23 08:47:41 UTC 2004


While setting up an LVM2 based 3TB storage the last days I've stumbled
over LVM2's "UUID" strings as displayed by its pvdisplay, vgdisplay, and
lvdisplay commands. It is clear that LVM2 requires those ids, but *WHY*
are they called "UUID"?

They do NOT conform in any way to the standardized ISO/IEC 11578:1996
compliant Universally Unique Identifier (UUID) strings. Neither by the
way they are created (LVM2 UUIDs are just random numbers while ISO v4
random UUIDs are fixed bit-fields plus random remaining bits) nor the
way they are formatted. Examples:

LVM2               UUID: H9C8iE-braW-70bk-Fx9x-lMIX-Rmmy-5XgkM9
ISO/IEC 11578:1996 UUID: 4a8287f4-0d33-11d9-8068-0002b31abd79

So, wouldn't it be reasonable that either LVM2 uses a real open-source
UUID library for dealing with standardized UUIDs (ext2fs's libuuid, OSSP
uuid, etc) or at least names its ids own id strings just "ID" or even
"LVMID"?

Perhaps at least in the visible output strings in order to reduce
confusion with standardized UUIDs...

                                       Ralf S. Engelschall
                                       rse at engelschall.com
                                       www.engelschall.com




More information about the linux-lvm mailing list