Re: Anyone know the LVM UUID Format?

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

 



Timothy Selivanow wrote:
Does anybody off hand know the format that is used by LVM, as it isn't
standard UUID obviously.  Is it just 6-4-4-4-4-4-6 of [a-zA-Z0-9]?  Or
is it derived from a valid 8-4-4-4-12 [a-f0-9]?  Does it have any
metadata embedded in it, e.g. creation time, host, etc., similar to some
of the UUID generation methods?

I want to be able to generate random UUIDs for use in LVM, but
genuuid(1) can't output in the LVM format so I'll need to make a script
if a tool doesn't currently exist to do this.  I've tried to search for
this on google, but "LVM UUID format" or generator or script or standard
doesn't come up with anything useful.
I would bet if you get the source code for lvcreate or vgcreate it has the exact
code it is using to generate it.
                                Roger

--
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux