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

Create successful ePaper yourself

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

7.1 LVM data<br />

The Logical Volume Manager (LVM) data structures that are required for the<br />

LVM to operate are stored in a number of structures. This logical layout is<br />

described in the following sections.<br />

7.1.1 Physical volumes<br />

7.1.2 Volume groups<br />

Each disk is assigned a Physical Volume Identifier (PVID) when it is first<br />

assigned to a volume group. The PVID is a combination of the serial number of<br />

the machine creating the volume group and the time and date of the operation.<br />

The PVID is stored on the physical disk itself and is also stored in the Object<br />

Data Manager (ODM) of a machine when a volume group is created or imported.<br />

You should not use the dd command to copy the contents of one physical volume<br />

to another, since the PVID will also be copied; this will result in two disks having<br />

the same PVID, which can confuse the system.<br />

Each volume group has a Volume Group Descriptor Area (VGDA). There are<br />

(commonly) multiple copies of the VGDA in a volume group. A copy of the VGDA<br />

is stored on each disk in the volume group. The VGDA stores information about<br />

the volume group, such as the logical volumes and the disks in the volume<br />

group.<br />

The VGDA is parsed by the importvg command when importing a volume group<br />

into a system. It is also used by the varyonvg command in the quorum voting<br />

process to decide whether a volume group should be varied on.<br />

For a single disk volume group, there are two VGDAs on the disk. When a<br />

second disk is added to make a two disk volume group, the original disk retains<br />

two VGDAs and the new disk gets one VGDA.<br />

Adding a third disk results in the extra VGDA from the first disk moving to the<br />

third disk for a quorum of three with each disk having one vote. Adding this<br />

additional disk adds a new VGDA per disk.<br />

A volume group with quorum checking enabled (the default) must have at least<br />

51 percent of the VGDAs in the volume group available before it can be varied<br />

on. Once varied on, if the number of VGDAs falls below 51 percent, the volume<br />

group will automatically be varied off.<br />

138 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

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

Saved successfully!

Ooh no, something went wrong!