1830360 Members
2786 Online
110001 Solutions
New Discussion

Retrieve LVM Version

 
SOLVED
Go to solution
Andrea Lucarelli
Honored Contributor

Retrieve LVM Version

Hi,

I need to retrieve the LVM version for an Inventory Software.

Do you know a command for to retrieve this information?

Thanks in advance
Andrea.
It will be a good day?
6 REPLIES 6
Peter Godron
Honored Contributor

Re: Retrieve LVM Version

James R. Ferguson
Acclaimed Contributor

Re: Retrieve LVM Version

Hi Andrea:

Since LVM is part of the HP-UX core components, I don't believe that there is any "version" other than patches that are periodically issued against it.

Regards!

...JRF...
Peter Godron
Honored Contributor

Re: Retrieve LVM Version

Andrea,
and if you are after the VxFS DISK LAYOUT:
fstyp -v /dev/vgxx/lvolyy

Example:
# fstyp -v /dev/vg02/lvol02
vxfs
version: 4
f_bsize: 8192
f_frsize: 1024
.
.
.
Andrea Lucarelli
Honored Contributor

Re: Retrieve LVM Version

Hi,

Thanks for your help but I have some doubt.

James said that LVM is part of the HP-UX core components so if I run swlist -l product |grep -i lvm I have the same HP-UX version of LVM version.

LVM B.11.11 LVM

The command fstyp -v /dev/vg02/lvol02 is good for retrieve the Veritas File System. is not same of the LVM?

So it seems that is not possible retrive the LVM version but it is part of the HP-UX core components.

is it right?

Thank a lot
Andrea.
It will be a good day?
Peter Godron
Honored Contributor
Solution

Re: Retrieve LVM Version

Andrea,
correct. LVM 'version' is the version of the OS + relevant patches.

It's just sometimes people get confused between LVM and Vxfs disk layout when they ask for version numbers.
James R. Ferguson
Acclaimed Contributor

Re: Retrieve LVM Version

Hi (again) Andrea:

> The command fstyp -v /dev/vg02/lvol02 is good for retrieve the Veritas File System. is not same of the LVM?

That is correct. The Veritas File System layout version is a version of a *filesystem*. LVM is a disk volume management subsystem. A filesystem is a structure that resides *within* a logical volume. In HP-UX you commonly have VxFS and HFS filesystems. The older HFS type is still used for the '/stand' mountpoint.

> So it seems that is not possible retrive the LVM version but it is part of the HP-UX core components.

That is correct.

Regards!

...JRF...