Skip to contentSkip to conversation

LVM2: Bad LV-UUID?

linux-lvm Jan-Benedict Glaw 2 participants 2 messages Nov 28, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

I've gone to LVM2 yesterday, which included creating LVM2-style PVs, VGs and one LV. The strange thing for me is that the LV's UUID is "000000-0000-0000-0000-0000-0000-000000", which doesn't really look like it was intended... Just a hint for a possible bug somewhere:-)

Btw., userland is what you get with 'apt-get install lvm2', this tells for version:

	LVM Version:		1.95.10 (2002-05-31)
	Library Version:	0.96.04-ioctl-cvs (2002-08-14)
	Driver Version:		1.0.8

I know, ports of it aren't that up-to-date, but I don't know (yet) if this is a bug and if it's a _known_ bug...

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
#1 lore raw
Quoted 4 lines · Jan-Benedict Glaw

I've gone to LVM2 yesterday, which included creating LVM2-style PVs, VGs and one LV. The strange thing for me is that the LV's UUID is "000000-0000-0000-0000-0000-0000-000000", which doesn't really look like it was intended... Just a hint for a possible bug somewhere:-)

This behaviour is correct - the values are like this so as to provide backwards compatibility with LVM1. The field is an LVM2 extension of LVM1's LV number, which is 0 in this particular case.

To see the random UUID values you expected in this field, you'd need to update your software use the new metadata format.

Alasdair

Signature · 1 line
[email protected]