Operating System - HP-UX
1748235 Members
3458 Online
108759 Solutions
New Discussion юеВ

Re: Questions on lvmadm -t

 
SOLVED
Go to solution
f. halili
Trusted Contributor

Questions on lvmadm -t

The lvmadm -t shows the output below. Does this mean this three VG versions are available on the host? How do I specify if I want to use one or the other? Is there an swlist command to show what VG Version is installed?

# lvmadm -t
--- LVM Limits ---
VG Version 1.0
Max VG Size (Tbytes) 510
Max LV Size (Tbytes) 16
Max PV Size (Tbytes) 2
Max VGs 256
Max LVs 255
Max PVs 255
Max Mirrors 2
Max Stripes 255
Max Stripe Size (Kbytes) 32768
Max LXs per LV 65535
Max PXs per PV 65535
Max Extent Size (Mbytes) 256

VG Version 2.0
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 512
Max LVs 511
Max PVs 511
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256

VG Version 2.1
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 2048
Max LVs 2047
Max PVs 2048
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256

Thanks,
f. halili
derekh
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: Questions on lvmadm -t

Hi:

This document should help you. What you see are the limits for each version.

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

Regards!

...JRF...
Torsten.
Acclaimed Contributor
Solution

Re: Questions on lvmadm -t

Does this mean this three VG versions are available on the host?

Yes, because you have a newer release of 11.31.

How do I specify if I want to use one or the other?

During vgcreate.

Example:

# vgcreate -V 2.0 -s 32 -S 1p /dev/vg01 /dev/disk/disk50


To create a Version 2.0 volume group using 32 MB extents and a maximum size of 1 PB.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Questions on lvmadm -t

> Does this mean this three VG versions are available on the host?

Yes it does...

> How do I specify if I want to use one or the other?

See the "-V" option on vgcreate

> Is there an swlist command to show what VG Version is installed?

No - you already hit the command that tells you - "lvmadm -t"

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Patrick Wallek
Honored Contributor

Re: Questions on lvmadm -t

As of today, the 11iv3 man page documents (PDF files) on docs.hp.com do NOT reflect the '-V' or the '-S' option to vgcreate.

If anyone in HP sees this, can you get those documents updated, please?
f. halili
Trusted Contributor

Re: Questions on lvmadm -t

thanks!
derekh