AIX 卷组类型转换与 LP 迁移

参考链接(aix4admins.blogspot.com)

参考链接(techchannel.com)

Changing Normal VG to Big VG

If you reached the MAX PV limit of a Normal VG and playing with the factor (chvg -t) is not possible anymore you can convert it to Big VG.

It is an online activity, but there must be free PPs on each physical volume, because VGDA will be expanded on all disks:

root@bb_lpar: / # lsvg -p bbvg

bbvg

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk2 active 511 2 02..00..00..00..00

hdisk3 active 511 23 00..00..00..00..23

hdisk4 active 1023 0 00..00..00..00..00

root@bb_lpar: / # chvg -B bbvg
0516-1214 chvg: Not enough free physical partitions exist on hdisk4 for the
        expansion of the volume group descriptor area.  Migrate/reorganize to free up
        2 partitions and run chvg again.

In this case we have to migrate 2 PPs from hdisk4 to hdsik3 (so 2 PPs will be freed up on hdisk4):

root@bb_lpar: / # lspv -M hdisk4

hdisk4:1 bblv:920

hdisk4:2 bblv:921

hdisk4:3 bblv:922

hdisk4:4 bblv:923

hdisk4:5 bblv:924

...

root@bb_lpar: / # lspv -M hdisk3

hdisk3:484 bblv:3040

hdisk3:485 bblv:3041

hdisk3:486 bblv:3042

hdisk3:487 bblv:1

hdisk3:488 bblv:2

hdisk3:489-511

root@bb_lpar: / # migratelp bblv/920 hdisk3/489

root@bb_lpar: / # migratelp bblv/921 hdisk3/490

root@bb_lpar: / # lsvg -p bbvg

bbvg

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk2 active 511 2 02..00..00..00..00

hdisk3 active 511 21 00..00..00..00..21

hdisk4 active 1023 2 02..00..00..00..00

If we try again changing to Big VG, now it is successful:
root@bb_lpar: / # chvg -B bbvg
0516-1216 chvg: Physical partitions are being migrated for volume group
        descriptor area expansion.  Please wait.
0516-1164 chvg: Volume group bbvg2 changed.  With given characteristics bbvg2
        can include up to 128 physical volumes with 1016 physical partitions each.
If you check again, freed up PPs has been used:
root@bb_lpar: / # lsvg -p bbvg

bbvg

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk2 active 509 0 00..00..00..00..00

hdisk3 active 509 17 00..00..00..00..17

hdisk4 active 1021 0 00..00..00..00..00

2 次浏览 更新于 2026-11-04

同组文章系统配置与管理

查看本组全部 13 篇

没有找到想要的答案?

上传日志让 AI 帮你诊断,或者在控制台里直接向 AI 提问。