AIX Logic Volume
Read the error message creaful to understand where the problem is -- MAX pps per PV is not big enough or MAX LPs
0516-1162 extendvg: The Physical Partition Size of 256 requires the
creation of 1300 partitions for hdisk15. The limitation for volume
group oeclconv_vg 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.
# lsvg newsan
VOLUME GROUP: newsan VG IDENTIFIER: 00f719f800004c000000013a0813fbf2
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 575 (294400 megabytes)
MAX LVs: 256 FREE PPs: 2 (1024 megabytes)
LVs: 4 USED PPs: 573 (293376 megabytes)
OPEN LVs: 4 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
# chvg -t 2 newsan
0516-1164 chvg: Volume group newsan changed. With given characteristics newsan
can include up to 16 physical volumes with 2032 physical partitions each.
# lsvg newsan
VOLUME GROUP: newsan VG IDENTIFIER: 00f719f800004c000000013a0813fbf2
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 575 (294400 megabytes)
MAX LVs: 256 FREE PPs: 2 (1024 megabytes)
LVs: 4 USED PPs: 573 (293376 megabytes)
OPEN LVs: 4 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 2032 MAX PVs: 16
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
# lslv newsanlv1
LOGICAL VOLUME: newsanlv1 VOLUME GROUP: newsan
LV IDENTIFIER: 00f719f800004c000000013a0813fbf2.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 1024 PP SIZE: 512 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 200 PPs: 200
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /sanlv1 LABEL: /sanlv1
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no
# chlv -x 2048 newsanlv1
# lslv newsanlv1
LOGICAL VOLUME: newsanlv1 VOLUME GROUP: newsan
LV IDENTIFIER: 00f719f800004c000000013a0813fbf2.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 512 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 200 PPs: 200
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /sanlv1 LABEL: /sanlv1
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no
0516-1162 extendvg: The Physical Partition Size of 256 requires the
creation of 1300 partitions for hdisk15. The limitation for volume
group oeclconv_vg 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.
# lsvg newsan
VOLUME GROUP: newsan VG IDENTIFIER: 00f719f800004c000000013a0813fbf2
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 575 (294400 megabytes)
MAX LVs: 256 FREE PPs: 2 (1024 megabytes)
LVs: 4 USED PPs: 573 (293376 megabytes)
OPEN LVs: 4 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
# chvg -t 2 newsan
0516-1164 chvg: Volume group newsan changed. With given characteristics newsan
can include up to 16 physical volumes with 2032 physical partitions each.
# lsvg newsan
VOLUME GROUP: newsan VG IDENTIFIER: 00f719f800004c000000013a0813fbf2
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 575 (294400 megabytes)
MAX LVs: 256 FREE PPs: 2 (1024 megabytes)
LVs: 4 USED PPs: 573 (293376 megabytes)
OPEN LVs: 4 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 2032 MAX PVs: 16
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
0516-787 extendlv: Maximum allocation for logical volume
testlv
is 1024.
is 1024.
LOGICAL VOLUME: newsanlv1 VOLUME GROUP: newsan
LV IDENTIFIER: 00f719f800004c000000013a0813fbf2.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 1024 PP SIZE: 512 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 200 PPs: 200
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /sanlv1 LABEL: /sanlv1
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no
# lslv newsanlv1
LOGICAL VOLUME: newsanlv1 VOLUME GROUP: newsan
LV IDENTIFIER: 00f719f800004c000000013a0813fbf2.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 512 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 200 PPs: 200
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /sanlv1 LABEL: /sanlv1
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no
Comments