Anyone know the LVM UUID Format?

Timothy Selivanow timothy.selivanow at virtualxistenz.com
Fri Apr 25 22:10:49 UTC 2008


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.


--Tim
 __________________________________________________________________________ 
/ People disagree with me.  I just ignore them.                            \
\         -- Linus Torvalds, regarding the use of C++ for the Linux kernel /
 -------------------------------------------------------------------------- 
  \
   \   \
        \ /\
        ( )
      .( o ).




More information about the fedora-list mailing list