0516-1214 chvg: Not enough free physical partitions exist
I got this error when I tried to convert a Normal VG to Scalable VG as below.root@webmanul01: / # chvg -G datavg 0516-1214 chvg: Not enough free physical partitions exist on hdisk2 for the expansion of the volume group descriptor area. Migrate/reorganize to free up 18 partitions and run chvg again. |
root@webmanul01: / # lsvg -p datavg datavg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk2 active 546 0 00..00..00..00..00 hdisk3 active 546 40 00..00..00..00..17 |
From the man page of lspv webmanual01:/> man lspv -M Lists the following fields for each logical volume on the physical volume: PVname:PPnum [LVname: LPnum [:Copynum] [PPstate]] Where: PVname Name of the physical volume as specified by the system. PPnum Physical partition number. LVname Name of the logical volume to which the physical partitions are allocated. Logical volume names must be system-wide unique names, and can range from 1 to 64characters. LPnum Logical partition number. Logical partition numbers can range from 1 to 64,000. Copynum Mirror number. PPstate Only the physical partitions on the physical volume that are not current are shown as stale.root@ webmanul01: / # lspv -M hdisk2 ……………………………………………………………….. …………………………………………………………………. hdisk2:545 weblv:545 hdisk2:546 weblv:546 …………………… Note :In the above output there are no free PP as in the last of the output it is …………………………………… Then I checked the lspv –M of hdisk3 and as we can see in the below there are 40 PPs free from 506-546 on hdisk3 root@ webmanul01: / # lspv -M hdisk3 ……………………………………………………………….. …………………………………………………………………. hdisk3:504 wevlv:504 hdisk3:505 weblv:505 hdisk3:506-546 |
root@webmanul01: / # migratelp weblv:528 hdisk3/506 root@webmanul01: / # migratelp weblv:529 hdisk3/507 root@webmanul01: / # chvg -G datavg 0516-1224 chvg: WARNING, once this operation is completed, volume group bbvg cannot be imported into AIX 5.2 or lower versions. Continue (y/n) ? … 0516-1712 chvg: Volume group datavg changed. datavg can include up to 1024 physical volumes with 2097152 total physical partitions in the volume group. * Article Source from : Internet
|