*This course is not approved or sponsored by Red Hat.*
Logical Volume Management provides a framework to advance storage capabilities beyond the basic `filesystem/partition/disk` relationship. In this lesson, we will create and remove physical volumes on RHEL 8, assign physical volumes to volume groups, and create and delete logical volumes. We will also examine how to use LVM for swap.
—
**Red Hat Exam Requirements Covered:**
– Create and remove physical volumes.
– Assign physical volumes to volume groups.
– Create and delete logical volumes.
– Add new partitions and logical volumes and swap to a system non-destructively.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Partition Disks and Create Physical Volumes
- Display your phyical disk layout.
- Partition and set the type of your additional disks.
- Create LVM physical volumes out of the additional disks.
- Create and Extend a Volume Group and a Logical Volume
- Create a volume group.
- Extend the volume group.
- Create a logical volume.
- Extend the logical volume.
- Format, Mount, and Extend the Logical Volume and File System
- Format the logical volume with a file system.
- Make a mount point and mount the file system.
- Extend the volume group.
- Resize the logical volume and file system.
- Reduce a Logical Volume and File System and Remove and Wipe a Physical Volume
- Reduce the file system and logical volume size.
- Remove a physical volume from the volume group.
- Wipe the physical volume back to a simple partition.
- Confirm the disk and partition state.