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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• The new option -B creates a big VG format volume group. This can<br />

accommodate up to 128 physical volumes and 511 logical volumes (one<br />

reserved for LVM internal use).<br />

• If you do not use the -B option, the mkvg command will create the a VG with<br />

1016*factor(-t) physical partitions and 32/factor(-t) disks per volume group.<br />

• The option -G creates the volume group with enough space reserved at the<br />

beginning of the disk to expand the VGDA to include 1024 disks in the future<br />

without having to migrate the physical partitions.<br />

Following is an example of the mkvg command. To create a big VG, testvg, on<br />

hdisk1, enter:<br />

# mkvg -B -y testvg hdisk1<br />

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

# lsvg testvg<br />

VOLUME GROUP: testvg VGIDENTIFIER:061515169c44a3e<br />

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

VG PERMISSION: read/write TOTAL PPs: 80 (320megabytes)<br />

MAX LVs: 512 FREE PPs: 80 (320 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: 128<br />

This example shows the new limit values for big VG: MAX PVs is 128 and MAX<br />

LVs is 512.<br />

The chvg Command<br />

The option -B converts a small VG to a big VG. Once all the logical volumes are<br />

in closed/synced state (file systems unmounted), and if all the physical volumes<br />

are in the ACTIVE state in the volume group, the -B flag can be used to convert<br />

the small VG to a big VG format. This operation expands the VGDA/VGSA to<br />

change the total number of disks that can be added to the volume group from 32<br />

to 128.<br />

If you want to convert the rootvg, you will get the following error message:<br />

# chvg -B rootvg<br />

0516-1212 chvg: rootvg cannot be converted to the big volume group format.<br />

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

If both -t and -B flags are specified, factor will be updated first, and then the VG<br />

is converted to the big VG format (sequential operation).<br />

First create a small VG, testvg, on hdisk1:<br />

#mkvg -y testvg hdisk1<br />

To see the small VG information, enter:<br />

#lsvg hdisk1<br />

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

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

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

Logical Volume Manager Enhancements 89

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

Saved successfully!

Ooh no, something went wrong!