In the ever-evolving world of virtualization, efficient storage management is essential to ensure the smooth running of your Virtual Machines (VMs). Proxmox Virtual Environment (Proxmox VE) provides a powerful tool to help you achieve this: Logical Volume Management (LVM).
This comprehensive guide delves into the intricacies of LVM and shows you how to leverage its features to optimize VM storage in Proxmox VE 8.x.
If you missed the previous blog posts in this series, you can find them here:
- Introducing Proxmox VE 8.1
- Installing Proxmox VE 8.1 on VMware Workstation 17
- Proxmox VE 8.1: Web Console Overview
- Containers vs. VMs: Choosing the Right Approach for Proxmox VE
- Understanding the Proxmox VE 8.2 package repository
- Do not configure subscription repository in Proxmox VE 8.x
What is Logical Volume Manager (LVM)?
LVM is a storage management system that allows you to create, resize, and manage logical volumes (LVs) on physical storage devices. Unlike traditional disk partitioning, LVM offers a more flexible and dynamic approach to storage management, allowing you to easily expand or shrink storage as needed.
Proxmox VE seamlessly integrates LVM and allows you to take advantage of it. If you navigate to the “Disks” section of the Proxmox VE web interface, you will notice the presence of LVM partitions where your VM disks and other storage related data are stored.
Types of LVM
Proxmox VE offers two main types of LVM configurations: regular LVM and LVM Thin. Understanding the difference between these two options is important to make the right choice for your virtual infrastructure.
Regular LVM
Regular LVM is the most common and easiest approach. When you create a regular LVM volume, it reserves the full amount of disk space allocated to it, regardless of actual usage. For example, if you create an 80GB disk for a VM, the full 80GB will be consumed in the LVM volume, even if the VM only uses a portion of that space.

The advantage of regular LVM is its simplicity and performance since storage is pre-allocated, making it a good choice for scenarios where storage requirements are well defined and dynamic expansion is not a concern.
LVM Thin
LVM Thin, on the other hand, offers a more dynamic and efficient approach to storage management: with LVM Thin, allocated disk space is only consumed when a VM actually uses it. This means that if you create a 200 GB disk for a VM, an LVM Thin volume will only allocate the storage it needs as the VM writes data to the disk, potentially resulting in significant savings in physical storage space.
The main advantages of LVM Thin are flexibility and efficient use of storage resources, however, it is important to note that LVM Thin may incur some performance overhead compared to regular LVM due to dynamic storage allocation.

Managing LVM in Proxmox VE 8.x
Proxmox VE 8.x provides a user-friendly interface to manage LVM configuration. Let’s go through the steps to configure and manage LVM in Proxmox VE 8.x.
Creating an LVM thin pool
To create an LVM thin pool, follow these steps:
- In the Proxmox VE web interface, go to the “Disks” section.
- Click the “Create” button and select “LVM Thin”.
- Specify a name for the LVM thin pool (e.g. “lvm2”).
- Click “Create” to begin the LVM thin pool setup process.

Once the LVM thin pool is created, you can view its details and start allocating storage for VMs.
Creating LVM Volumes
To create a regular LVM volume, follow these steps:
- In the Proxmox VE web interface, go to the “Disks” section.
- Click the “Create” button and select “LVM”.
- Specify a name for the LVM volume, such as “lvm2”.
- Click Create to set up a regular LVM volume.

Once you have created a regular LVM volume, you can attach it to a VM and make full use of the allocated storage. Benefits of LVM in Proxmox VE 8.x
Utilizing LVM in Proxmox VE 8.x provides several key advantages:
- Flexible storage management: LVM allows you to easily expand or shrink your storage volume as needed without the constraints of traditional disk partitions.
- Efficient storage utilization: LVM Thin allows you to optimize storage usage by consuming only the physical space actively used by a VM, reducing the risk of wasted storage capacity.
- Performance improvements: Regular LVM provides pre-allocated storage, which may provide better performance for certain workloads compared to dynamically expanding storage.
- Scalability: LVM’s volume groups allow you to combine several physical disks into a single logical volume, making it easy to scale storage as your infrastructure grows.
Also read: How to install OPNSense firewall on Proxmox VE
Conclusion
Configuring LVM in Proxmox VE 8.x is an important step in optimizing your virtual machine storage. By understanding the differences between regular LVM and LVM Thin, and leveraging the management tools that Proxmox VE provides, you can create a flexible and efficient storage infrastructure that meets the changing needs of your virtual environment.
Whether you choose regular LVM for its performance benefits or LVM Thin for dynamic storage allocation, the power of LVM in Proxmox VE 8.x can help you take your virtual infrastructure to a new level.