# Logical Volume Management

1. LVM Components

The Logical Volume Manager (LVM) is a linux utility for mapping storage devices to storage volumes.
I am motivated to write this document due to not remembering the terminology and steps for resizing my root btrfs partition, despite setting aside free space on my initial linux setup.

# LVM Components

The following is my LVM version, examples shown are from my primary laptop.

## Physical Volumes (PVs)

These are the actual hardware (HDD, SSD), that store your information.
They serve as the foundation for the logical volumes and volume groups.

## Volume Groups (VGs)

Volume groups are disk abstractions that depend on the physical volumes.
They may span multiple physical volumes or reside within a single physical volume. They can be resized and moved between physical volumes.

## Logical Volumes (LVs)

Logical volumes are equivalent to a disk partition on a non-LVM system, but due to LVM, can extend across multiple physical hard drives.

### Resize root partition

The following is the output of sudo fdisk -l:

Because my root partition is running btrfs, I can increase the space with the following: