Lvm Configuration; Automatic Partitioning - Red Hat ENTERPRISE LINUX 4 System Administration Manual

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

Chapter 8.

LVM Configuration

LVM can be configured during the graphical installation process, the text-based installation process, or
during a kickstart installation. You can use the utilities from the lvm package to create your own LVM
configuration post-installation, but these instructions focus on using Disk Druid during installation to
complete this task.
Chapter 7, Logical Volume Manager (LVM)
Read
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.
Note
Although the following steps are illustrated during a GUI installation, the same can be
done during a text-based installation.
Two 9.1 GB SCSI drives (/dev/sda and /dev/sdb) are used in the following examples. They detail
how to create a simple configuration using a single LVM volume group with associated logical volumes
during installation.

8.1. Automatic Partitioning

On the Disk Partitioning Setup screen, select Automatically partition.
For Red Hat Enterprise Linux, LVM is the default method for disk partitioning. If you do not wish to
have LVM implemented, or if you require RAID partitioning, manual disk partitioning through Disk
Druid is required.
The following properties make up the automatically created configuration:
• The /boot/ partition resides on its own non-LVM partition. In the following example, it is the first
partition on the first drive (/dev/sda1). Bootable partitions cannot reside on LVM logical volumes.
• A single LVM volume group (VolGroup00) is created, which spans all selected drives and all
remaining space available. In the following example, the remainder of the first drive (/dev/sda2),
and the entire second drive (/dev/sdb1) are allocated to the volume group.
• Two LVM logical volumes (LogVol00 and LogVol01) are created from the newly created spanned
volume group. In the following example, the recommended swap space is automatically calculated
and assigned to LogVol01, and the remainder is allocated to the root file system, LogVol00.
first to learn about LVM. An overview of the steps
77

Advertisement

Table of Contents
loading

Table of Contents