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 LVM in <strong>AIX</strong> <strong>4.3</strong>.2 supports both the small VG configurations of the previous<br />

versions of <strong>AIX</strong> and the new big VG configuration. A migration path is provided to<br />

convert old volume groups to the new volume group format, provided there are<br />

sufficient free partitions on each of the physical volumes in the volume group to<br />

be allocated.<br />

The following sections explain the changes for the bigger VGDA/VGSA, which<br />

describe a volume group to a system completely. The changes needed for<br />

commands, library, and the LV device driver are also discussed.<br />

5.6.1 Changes to LVCB<br />

The original design of the VGDA and VGSA limited the number of disks that can<br />

be added to the volume group at 32 and the total number of logical volumes at<br />

256 (including one reserved for LVM internal use). With the increasing use of disk<br />

arrays, the need for the increased capacity for a single volume group is greater.<br />

Following are the basic concepts of VGDA, VGSA, and LVCB.<br />

VGDA Stands for volume group descriptor area. The VGDA contains<br />

information that describes the mapping of physical partitions to logical<br />

partitions for each logical volume in the volume group, as well as other<br />

vital information, including a time stamp. The VGDA is stored on each<br />

physical volume of the volume group.<br />

VGSA Stands for volume group status area. VGSA contains information,<br />

such as which physical partitions are stale and which physical<br />

volumes are missing (that is, not available or active), when a vary-on<br />

operation is attempted on a volume group. The VGSA is stored on<br />

each physical volume of the volume group.<br />

LVCB Stands for logical volume control block. The LVCB is the first 512 bytes<br />

of a logical volume. This area holds important information, such as the<br />

creation date of the logical volume, information about mirrored copies,<br />

and possible mount points in the journaled filesystem (JFS). Certain<br />

LVM commands are required to update the LVCB as part of the<br />

algorithms in LVM.<br />

The Logical Volume Control Block has been moved from the first block of the<br />

logical volume to inside the VGDA for better preservation. Though database<br />

programs that use logical volumes as raw devices skip this block, obliteration of<br />

the LVCB has caused confusion and loss of information such as intra-policy,<br />

inter-policy, upperbound, and so on. Since other subsystems, such as<br />

diagnostics, IPL, and ROS, do use the LVCB without using the LVM access<br />

routines, the LVCB will be maintained at both places.<br />

5.6.2 General Enhancements for Big VG<br />

The following sections describe the general limitations and updates required to<br />

implement big VG support on <strong>AIX</strong>.<br />

5.6.2.1 Commands Changes<br />

To support the big VG format, some new options have been added to the<br />

commands mkvg, chvg, importvg, mklv, and chlv commands.<br />

The mkvg Command<br />

The following lists some of the major changes to the mkvg command.<br />

88 <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!