IBM Support

Can't change the volume group type to Big or SVG because not enough free physical partitions exist for the expansion of the volume group descriptor area.

Troubleshooting


Problem

If you want to change your volume group type from Small (also known as Regular, Original, Normal or Standard VG) to Big or Scalable and there are not enough free PPs on any disk in the volume group you will see an error similar to the following: -
# chvg -B testvg
0516-1214 chvg: Not enough free physical partitions exist on hdisk1 for the expansion of the volume group descriptor area. Migrate/reorganize to free up 2 partitions and run chvg again.
0516-732 chvg: Unable to change volume group testvg.

Resolving The Problem

Possible solutions

Option 1 :-  if you have at least one disk with many free PPs, you can migrate the required number of PPs from the full physical volumes to the ones that have free PPs.

(Note: the migratelp command is unable to migrate partitions of striped logical volumes)

# lsvg -p testvg
testvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk1            active            49          0           00..00..00..00..00
hdisk2            active            49          0           00..00..00..00..00
hdisk3            active            99          47          07..00..00..20..20

In this case we have to migrate 2 PPs from hdisk2 and hdisk1 to hdisk3 (so 2 PPs will be freed up on hdisk1 and hdisk2):

First run the command "lspv – M hdiskX” to list logical partitions occupying the first physical partitions on the physical volume:

PVname:PPnum [LVname: LPnum [:Copynum] [PPstate]]

# lspv -M hdisk1
hdisk1:1        testlv:20
hdisk1:2        testlv:21

hdisk1:3        testlv:22
hdisk1:4        testlv:23
.......
# lspv -M hdisk2
hdisk2:1        testlv:69
hdisk2:2        testlv:70

hdisk2:3        testlv:71
hdisk2:4        testlv:72
.....
# lspv -M hdisk3
hdisk3:56       testlv:134
hdisk3:57       testlv:135
hdisk3:58       testlv:136
hdisk3:59       testlv:137
hdisk3:60-99
 

For hdisk1 and hdisk2 we will move the first 2 PPs to hdisk3 using the migratelp command :-

migratelp LVname/LPartnumber[ /Copynumber ] DestPV[/PPartNumber]

for hdisk1 :-

# migratelp testlv/20 hdisk3

# migratelp testlv/21 hdisk3

For hdisk2 :-

# migratelp testlv/69 hdisk3

# migratelp testlv/70 hdisk3

Then check again :-

# lsvg -p testvg
testvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk1            active            49          2           02..00..00..00..00
hdisk2            active            49          2           02..00..00..00..00
hdisk3            active            99          43          07..00..00..16..20

 

Option 2 :-  If all disks in the volume group have zero free PPs, you may be able to shrink a filesystem to free up the required number of PPs.  PPs will not be freed equally on all disks, so you will likely need to use option 1 after shrinking to create free PPs on each disk.

Try to Shrink the Filesystem by the number of PPs that you require using the command :-

# chfs -a size=-“PP size” /mountpoint 

Option 3 :-  If you have not reached the limit of maximum PPs per PV, and the disks are RAID devices, you can dynamically expand the disks on on the storage array.  Then on AIX run "chvg -g vgname" to detect the added PPs on each PV.

Option 4 :-  if the above options are not viable, the last option is to backup the volume group contents and restore it to a big or scalable VG.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvyiAAA","label":"LVM"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
02 March 2021

UID

ibm16373924