Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Volume group information 2

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
GB
Does anyone a good way to check whether a volume group was created using the original, big, or scalable option?

I've got two servers which SHOULD be identical, with identical disk space being presented on identically-sized LUN's from a HDS box. Problem is, one is happy, the other complains about the PP size per PV.

I've obviously got to change this but my first port of call is to see where the difference is. They're both set at 32M PP size, with the problematic one saying 1016 PP's per PV and the good one not even reporting it.

Ta.

 
you may know this from the command lsvg!

when you do lsvg rootvg (for example) you will get some output like this:

Code:
# lsvg rootvg
VOLUME GROUP:   rootvg                   VG IDENTIFIER:  00c5c1eb00004c000000010a21239a61
VG STATE:       active                   PP SIZE:        256 megabyte(s)
VG PERMISSION:  read/write               TOTAL PPs:      1092 (279552 megabytes)
MAX LVs:        256                      FREE PPs:       738 (188928 megabytes)
LVs:            33                       USED PPs:       354 (90624 megabytes)
OPEN LVs:       30                       QUORUM:         1
TOTAL PVs:      2                        VG DESCRIPTORS: 3
STALE PVs:      0                        STALE PPs:      0
ACTIVE PVs:     2                        AUTO ON:        yes
MAX PPs per PV: 1016                     MAX PVs:        32
LTG size:       128 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:      no                       BB POLICY:      relocatable

See the MAX PVs number. If this is 32 that means its original. If its 128 its Big. For Scalable it will be 1024. That's of course if the maximum PPs is 1016 per PV.

Refer to this document for more information:


Regards,
Khalid
 
Using the "MAX LVs:" may be more practical than looking at the MAX PVs. The MAX PVs value may changes if the VG have been created/altered with a "-t" factor.
If looking at the "MAX LVs" value, this should be pretty consistent as:

MAX LVs: 256 - Normal VG
MAX LVs: 512 - Big VG
MAX LVs: 4096 - Scalable VG

HTH.

G.
 
To go back to your original question phorbiuz, if "lsvg" on one system reports the "PP's per PV" and the other system does not report this, then I suspect you have a difference in OS levels (or maybe MLs). Try comparing the output of

oslevel -r

on both systems.

HTH,

G.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top