21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

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.

Check the error log with the errpt command in order to see what happened to<br />

the respective disk.<br />

In order to force the volume group to be varied online, use the -f flag of the<br />

importvg command. This makes it possible to operate on the volume group and,<br />

depending on the situation, reconfigure the volume group by excluding the disk<br />

that is marked missing with the reducevg command.<br />

Shared disk environment<br />

In a shared disk environment, such as an SSA disk system, used by two or more<br />

systems, it is possible that the physical volumes defined are not accessible<br />

because they are already imported and varied on by another machine. Check the<br />

volume groups on both machines and compare the PVIDs by using the lspv<br />

command.<br />

7.2.5 Extending the number of max physical partitions<br />

When adding a new disk to a volume group, you may encounter an error due to<br />

there being too few PP descriptors for the required number of PVs. This may<br />

occur when the new disk has a much higher capacity than existing disks in the<br />

volume group.<br />

This situation is typical on older installations, due to the rapid growth of storage<br />

technology. To overcome this, a change of the volume group LVM metadata is<br />

required.<br />

The chvg command is used for this operation using the -t flag and applying a<br />

factor value, as shown in the following example:<br />

# lsvg testvg<br />

VOLUME GROUP: testvg VG IDENTIFIER: 000bc6fd5a177ed0<br />

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

VG PERMISSION: read/write TOTAL PPs: 542 (8672 megabytes)<br />

MAX LVs: 256 FREE PPs: 42 (672 megabytes)<br />

LVs: 1 USED PPs: 500 (8000 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 />

# chvg -t 2 testvg<br />

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

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

y<br />

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

can include upto 16 physical volumes with 2032 physical partitions<br />

each.<br />

Chapter 7. LVM, file system, and disk problem determination 143

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

Saved successfully!

Ooh no, something went wrong!