System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to check if my vgversion is 1.0 or 2.0 or 2.1??

rajeshkm
Occasional Advisor

how to check if my vgversion is 1.0 or 2.0 or 2.1??

VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4479
VGDA 4
PE Size (Mbytes) 64
Total PE 8938
Alloc PE 3580
Free PE 5358
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay and lvmadm does not give me the enough info

lvmadm
lvmadm: Could not change optional functionality authorization.

6 REPLIES
rajeshkm
Occasional Advisor

Re: how to check if my vgversion is 1.0 or 2.0 or 2.1??

how to convert a vg version in online from 1.0 to 2.0?
Steven E. Protter
Exalted Contributor

Re: how to check if my vgversion is 1.0 or 2.0 or 2.1??

Shalom,

You are talking about the file system or the volume group?

What is the OS and version and year and date of the release.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sunny123_1
Esteemed Contributor

Re: how to check if my vgversion is 1.0 or 2.0 or 2.1??

Hi

Use lvmadm -t command


Regards
Sunny
Nido
Trusted Contributor

Re: how to check if my vgversion is 1.0 or 2.0 or 2.1??

Hello Rajesh,

From the HP Document:
The 2.0 volume groups became available with the March 2008 release of HP-UX 11i v3 (11.31) and the 2.1 volume groups with the 11i v3 2008 September release. Prior to the March 2008 release, only version 1.0 volume groups were available.

You must have 11.31 to see LVM2.x features.

Check with lvmadm command the VG version.(if available)

Also root vg can't have LVM2.x functionality.


Cheers!!
" Let Villagers Be Happy!! "
Vivek Bhatia
Trusted Contributor

Re: how to check if my vgversion is 1.0 or 2.0 or 2.1??

Hi Rajesh,

The vgversion is the command to convert the vg from 1.0 to 2.0, 2.0 to 2.1.

This is a new technical documentation and it will be a great help for you.

http://docs.hp.com/en/5992-6592/vgversion-wp.pdf.

Regards,
Vivek
Emil Velez
Honored Contributor

Re: how to check if my vgversion is 1.0 or 2.0 or 2.1??

The following text is from the LVMv2 on 11.31 white paper

How to migrate?
At this time, there is no in-place migration available. You must migrate by copying data to another volume group created with the desired version.

You face the same situation when you cannot increase the size of a 1.0 volume group and vgmodify cannot do it either. You must copy over the data to a new volume group.

When to migrate?
Because the migration is done by copy, a good time to migrate is when you replace your storage.