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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't extend vg 1

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
US
What is the issue and how to resolve this?

mil:> extendvg backup2vg hdisk88
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 1152 partitions for hdisk88. The limitation for volume group
backup2vg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.

mil:> chvg -t backup2vg
0516-1187 chvg: Volume group not changed. Either the volume group backup2vg
has the specified factor value or is at proper maximum physical partitions
per physical volume limit already.
0516-732 chvg: Unable to change volume group backup2vg.

mil:> lsvg -l backup2vg
backup2vg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
bk2lv jfs2 9762 9762 17 open/syncd /backup
loglv03 jfs2log 1 1 1 open/syncd N/A

mil:> lsattr -El hdisk88
PR_key_value none Persistant Reserve Key Value True
cache_method fast_write Write Caching method False
ieee_volname 600A0B800019BF2A00000083476284B4 IEEE Unique volume name False
lun_id 0x0054000000000000 Logical Unit Number False
max_transfer 0x100000 Maximum TRANSFER Size True
prefetch_mult 1 Multiple of blocks to prefetch on read False
pvid 0002b643da2471810000000000000000 Physical volume identifier False
q_type simple Queuing Type False
queue_depth 10 Queue Depth True
raid_level 5 RAID Level False
reassign_to 120 Reassign Timeout value True
reserve_policy single_path Reserve Policy True
rw_timeout 30 Read/Write Timeout value True
scsi_id 0xa0000 SCSI ID False
size 36864 Size in Mbytes False
write_cache yes Write Caching enabled False

mil:> lsvg backup2vg
VOLUME GROUP: backup2vg VG IDENTIFIER: 000b81dd00004c000000010ebe40acf7
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 9845 (315040 megabytes)
MAX LVs: 256 FREE PPs: 82 (2624 megabytes)
LVs: 2 USED PPs: 9763 (312416 megabytes)
OPEN LVs: 2 QUORUM: 9
TOTAL PVs: 17 VG DESCRIPTORS: 17
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 17 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
 
The answer is here

0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 1152 partitions for hdisk88. The limitation for volume group
backup2vg is 1016 physical partitions per physical volume. Use chvg command with -t option to attempt to change the maximum Physical Partitions per Physical volume for this volume group.

look at man chvg for the correct syntax

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
I think you were using 18 GB disk before with a MAX number PPs as 1016 per PV

Now you are trying to add a 36 GB disk which requires 1152 PPs since you are using 32MB as the PP size.

To increase the MAX PPs to 2032 you need to use the factor 2

chvg -t 2 backup2vg

However you get into another problem here. The maximum number of physical volumes that can be included in this volume group will be reduced to (MAXPVS/factor).. So the command will try to reduce the MAX PVs to 16 from 32.

Since you are already using 17 disk it may not succeed.

So it is better to use two 18 GB disks now.
 
You are right. I just double-checked.
thx so much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top