24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MAX LVs: 256 FREE PPs: 81 (324 megabytes)<br />

LVs: 0 USED PPs: 0 (0 megabytes)<br />

OPEN LVs: 0 QUORUM: 2<br />

TOTAL PVs: 1 VG DESCRIPTORS: 2<br />

STALE PVs: 0 STALE PPs: 0<br />

ACTIVE PVs: 1 AUTO ON: yes<br />

MAX PPs per PV: 1016 MAX PVs: 32<br />

To convert a small VG into a big VG:<br />

# chvg -B test<br />

0516-1224 chvg: WARNING, once this operation is completed, volume group test<br />

cannot be imported into <strong>AIX</strong> 431 or lower versions. Continue (y/n) ?<br />

y<br />

0516-1164 chvg: Volume group testvg changed. With given characteristics testvg<br />

can include up to 128 physical volumes with 1016 physical partitions each<br />

physical volume.<br />

To see the attributes of this VG, enter:<br />

# lsvg test<br />

VOLUME GROUP: test VG IDENTIFIER: 00615151692724b1<br />

VG STATE: active PP SIZE: 4 megabyte(s)<br />

VG PERMISSION: read/write TOTAL PPs: 81 (324 megabytes)<br />

MAX LVs: 512 FREE PPs: 79 (316 megabytes)<br />

LVs: 0 USED PPs: 2 (8 megabytes)<br />

OPEN LVs: 0 QUORUM: 2<br />

TOTAL PVs: 1 VG DESCRIPTORS: 2<br />

STALE PVs: 0 STALE PPs: 0<br />

ACTIVE PVs: 1 AUTO ON: yes<br />

MAX PPs per PV: 1016 MAX PVs: 128<br />

As shown, the number of TOTAL PPs remain unchanged. The number of free<br />

PPs are reduced by two. These two PPs are reserved for the larger VGDA/VGSA.<br />

If you do not have enough space on your disk, suppose disk1 on the small VG is<br />

full, such as:<br />

# lspv hdisk1<br />

PHYSICAL VOLUME: hdisk1 VOLUME GROUP: testvg<br />

PV IDENTIFIER: 00615151648abe10 VG IDENTIFIER:006151516a0af1a9 PV<br />

STATE:<br />

active<br />

STALE PARTITIONS: 0 ALLOCATABLE: yes<br />

PP SIZE: megabyte(s) LOGICAL VOLUMES: 2<br />

TOTAL PPs: 81 (324 megabytes) VG DESCRIPTORS: 2<br />

FREE PPs:<br />

0 (0 megabytes)<br />

USED PPs:<br />

81 (324 megabytes)<br />

FREE DISTRIBUTION: 00..00..00..00..00<br />

USED DISTRIBUTION: 17..16..16..16..16<br />

The following example shows what happens if you want to convert the small<br />

testvg into big testvg:<br />

# chvg -B testvg<br />

0516-1214 chvg: Not enough free physical partitions exist on hdisk1 for the<br />

expansion of the volume group descriptor area. Migrate/reorganize to free up 2<br />

partitions and run chvg again.<br />

0516-732 chvg: Unable to change volume group testvg.<br />

90 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!