Sunday, March 29, 2009

LVM2

Logical Volume Manager

LVM is a tool for logical volume management which includes allocating disks, striping, mirroring
and resizing logical volumes

LVM version 2, or LVM2, is the default for Red Hat Enterprise Linux 5, which uses the device
mapper driver contained in the 2.6 kernel.

Steps required to configure LVM include:

• Creating physical volumes from the hard drives.
• Creating volume groups from the physical volumes.
• Creating logical volumes from the volume groups and assign the logical volumes mount
points.

PHYSICAL VOLUMES ---> VOLUME GROUP ---> LOGICAL VOLUME ---> MOUNT POINT/FILE SYSTEMS

(note: For Red Hat Enterprise Linux, LVM is the default method for disk partitioning: To verify it, try to use the default installation and see the File Systems, you can see LVM )
Let me walk you through the manual LVM configuration while linu installation:
Lets say my system has 2 IDE drives each of 3.0GB; As we know for linux installation, minimally we need to create following 3 partitions
/boot : it can't be created in logical volume
swap
/
(note: The physical volumes are combined into logical volumes, with the exception of the /boot/partition. The /boot/ partition cannot be on a logical volume group because the boot loadercannot read it. If the root (/) partition is on a logical volume, create a separate /boot/ partitionwhich is not a part of a volume group. )
......... will be discussed in detailed in lab............


No comments:

Post a Comment