Linux Administration Bootcamp
Installing and Connecting to a Linux System
Intermediate Linux Skills
Linux Boot Process and System Logging
Disk Management in Linux
LVM - The Logical Volume Manager
User Management in Linux
Networking With Linux
Shell Scripting with Linux
Command Line Kung Fu
In this course, you will learn how to install a Linux system and connect to it, whether that be on Mac or Windows.
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.