Logical Volume Manager – Summary

Start course
Overview
Difficulty
Intermediate
Duration
40m
Students
60
Ratings
5/5
starstarstarstarstar
Description

The Logical Volume Manager introduces extra layers of abstraction between the disks or storage devices presented to a Linux system and the file systems placed on them. This course explores the service and its components. This course is part of the Linux Administration Bootcamp learning path, designed to get you up and running with Linux.

Learning Objectives

  • Understand what the LVM is and how it works
  • Create and remove physical volumes (PVs), volume groups (VGs), and logical volumes (LVs)
  • Extend volume groups and extend and mirror logical volumes
  • Migrate Data from one storage device to another

Intended Audience

  • Anyone with basic knowledge of Linux who wants to learn more
  • Professionals who want to learn more about Linux to enhance their career prospects

Prerequisites

This is an intermediate-level course so some knowledge of Linux is expected. If you're just starting out, then try our Linux Fundamentals course first.

Transcript

In this lesson you learned that LVM adds layers of abstraction between storage devices and file systems. These layers of abstraction include physical volumes, volume groups, and logical volumes. You also learned how to configure LVM, starting with the pvcreate command to create physical volumes; the vgcreate command to configure volume groups, and the lvcreate command to create logical volumes.

From there you treated the logical volumes like you would any other disk partition. You created a file system on the logical volume and mounted it like any other file system. From there you learned how to extend logical volumes using the lvextend command. When you needed to add more capacity to your volume group, you learned how to do that with the vgextend command.

You also learned how to create mirrored, or logical volumes by using the -n option to the lvcreate command. Finally you learned how to remove logical volumes with the lvremove command, removed physical volumes from volume groups with the vgreduce command, remove volume groups with vgremove, and remove physical volumes with the pvremove command.

About the Author
Avatar
Jason Cannon
Founder, Linux Training Academy
Students
3544
Courses
61
Learning Paths
8

Jason is the founder of the Linux Training Academy as well as the author of "Linux for Beginners" and "Command Line Kung Fu." He has over 20 years of professional Linux experience, having worked for industry leaders such as Hewlett-Packard, Xerox, UPS, FireEye, and Amazon.com. Nothing gives him more satisfaction than knowing he has helped thousands of IT professionals level up their careers through his many books and courses.

Covered Topics