Linux Logical Volume Manager (LVM)
- 40 mins on-demand video
- 2 articles
- 1 downloadable resource
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Manage Logical Volumes using LVM on Linux systems and servers.
- A basic understanding of the Linux command line interface (CLI).
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.
- Red Hat Enterprise Linux / RHEL
- 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!
- Anyone who wants to manage logical volumes, disks, or other storage devices on Linux operating systems.
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:
Easily Resize Storage While Online
Online Data Relocation
Convenient Device Naming
Data Redundancy / Data Mirroring
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:
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.
In this lesson you will learn how to delete logical volumes, volume groups, and physical volumes. Commands covered include:
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.