Linux Logical Volume Manager (LVM)
4.7 (67 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
409 students enrolled

Linux Logical Volume Manager (LVM)

Learn the most important LVM concepts and Linux LVM Commands in this to-the-point course on the Logical Volume Manager.
4.7 (67 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
409 students enrolled
Created by Jason Cannon
Last updated 8/2020
English
English [Auto]
Current price: $104.99 Original price: $149.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 40 mins on-demand video
  • 2 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Manage Logical Volumes using LVM on Linux systems and servers.
Requirements
  • A basic understanding of the Linux command line interface (CLI).
Description

In this course on the Linux Logical Volume Manager you'll learn:

  • Exactly what LVM is and when to use it.
  • How LVM creates layers of abstraction between storage devices and file systems and how to use that to your maximum benefit.
  • The details of how to create and manage Physical Volumes, Volume Groups, and Logical Volumes.
  • How easy it is to extend file systems while keeping the existing data online and completely accessible during the entire process.
  • How to create mirrored logical volumes to protect your data against single points of failure.
  • How to migrate data from one storage device to another, without taking any downtime whatsoever.
  • And more...

This course is perfect for anyone who wants to quickly get up to speed on the Linux Logical Volume Manager.

Also, this course applies to any Linux distribution as the Linux LVM commands are the same on all Linux distros.

  • Ubuntu
  • Red Hat Enterprise Linux / RHEL
  • CentOS
  • Debian
  • SUSE
  • And all others.

This course also includes a 14-page LVM Workbook that contains all the examples and commands demonstrated in the course.  You can use it as your personal LVM cheat sheet.

This course was created by Jason Cannon.  He's taught thousands of people just like you, valuable, in-demand Linux skills.  He's created many highly-rated Linux courses and even written several best-selling books on the subject, too.  In this course, he shares the most important things that allow you to quickly understand and use LVM.

If you're ready to finally tackle LVM, enroll now!

Who this course is for:
  • Anyone who wants to manage logical volumes, disks, or other storage devices on Linux operating systems.
Course content
Expand all 10 lectures 56:24
+ Introduction
2 lectures 04:57

LVM stands for Logical Volume Manager.  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 those disks or storage devices.

Why to use LVM:

  • Flexible Capacity

  • Easily Resize Storage While Online

  • Online Data Relocation

  • Convenient Device Naming

  • Disk Striping

  • Data Redundancy / Data Mirroring

  • Snapshots

Preview 02:51

The logical volume manager introduces extra layers of abstraction between the storage devices and the file systems placed on those storage devices.

In this lesson you will learn about these layers of abstraction:

  • Physical volumes.

  • Volume Groups.

  • Logical Volumes.

Preview 02:06
+ Managing LVM
5 lectures 33:13

In this lesson you will learn the process for creating Physical Volumes (PVs), Volume Groups (VGs), and Logical Volumes (LVs)

At a high level, the process for creating a logical volume is:

1. Create one or more physical volumes.

2. Create a volume group from those one or more physical volumes.

3. Finally, you can create one or more logical volumes from the volume group.


Creating Physical Volumes (PVs), Volume Groups (VGs), and Logical Volumes (LVs)
17:10

In this lesson you will learn how to extend Volume Groups (VGs) and Logical Volumes (LVs) with the vgextend and lvextend commands.  In addition, you'll learn about Logical Extents and Physical Extents.

Extending Volume Groups and Logical Volumes
05:35

In this lesson you will learn how to create mirrored logical volumes.

Mirroring Logical Volumes
05:24

In this lesson you will learn how to delete logical volumes, volume groups, and physical volumes. Commands covered include:

  • umount

  • lvremove

  • vgreduce

  • pvremove

  • vgremove


Preview 02:10

It is easy to move data from one storage device to another with LVM. In this lesson, you'll learn exactly how to do that with the pvmove command.

Preview 02:54
+ Summary
1 lecture 01:20

In this course 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 configure 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 partitions. 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 lvextend. When you needed to add more capacity to a volume group, you learned how to do so with the vgextend command.

You also learned how to create mirrored logical volumes by use the -m option to the lvcreate command.

Finally, you learned how to remove logical volumes with the lvremove command, remove physical volumes from volume groups with the vgreduce command, remove volume groups with vgremove, and remove physical volumes with the pvremove command.

Logical Volume Manager – Summary
01:20
+ Bonus Lecture Section: Get my other courses at the maximum discount!
1 lecture 01:04

Learn how to get the best price on Jason Cannon's courses.

Bonus Lecture: Get my other courses at the maximum discount!
01:04