Since 2016 · 50,000+ customers · ★ 5.0 on Google Live chatWhatsAppTelegramOpen a ticket
Get started
VPS and Hosting

How to Create an LVM-Thin Pool in Proxmox VE

Create an LVM-thin pool in Proxmox VE guide by 99RDP

LVM-thin is Proxmox VE's default storage type for VM disks on a local disk. A thin pool hands out space as VMs actually write data, supports fast snapshots and linked clones, and lets you allocate more virtual disk space than you physically have. This guide shows how to create a thin pool on one or more new disks, from the web interface and from the shell, and how to avoid the classic thin-pool pitfall of running out of space.

Quick answer(one empty disk, /dev/nvme1n1):

pvcreate /dev/nvme1n1
vgcreate vmdata /dev/nvme1n1
lvcreate -l 95%FREE --thinpool data vmdata
pvesm add lvmthin vmdata-thin --vgname vmdata --thinpool data --content images,rootdir

Option 1: Create a thin pool in the web interface

  1. Go to Datacenter → your node → Disks and check the new disk is listed and unused. If it has old partitions, select it and click Wipe Disk (this erases it).
  2. Open Disks → LVM-Thin → Create: Thinpool.
  3. Choose the disk, enter a name (for example vmdata), and keep Add Storage ticked.
  4. Click Create. The new storage appears under Datacenter → Storage and is ready for VM and container disks.

The web interface creates a pool on a single disk. To combine several disks, use the shell.

Diagram of the LVM-thin storage stack in Proxmox: disk, physical volume, volume group, thin pool and VM disks
The LVM-thin layers

Option 2: Create a thin pool from the shell (one or more disks)

Step 1: Identify the disks

lsblk -o NAME,SIZE,MODEL,SERIAL

Make sure you pick empty disks: the next steps erase them.

Step 2: Create physical volumes and a volume group

pvcreate /dev/nvme1n1 /dev/nvme2n1
vgcreate vmdata /dev/nvme1n1 /dev/nvme2n1

A volume group across two disks simply adds their capacity together. It has no redundancy: if either disk fails, the pool is lost. For redundancy, use hardware RAID underneath, or ZFS mirrors instead of LVM-thin.

Step 3: Create the thin pool

lvcreate -l 95%FREE --thinpool data vmdata
lvs vmdata

Leaving about 5% of the volume group free gives LVM room to grow the pool's metadata and lets you extend the pool in an emergency.

Step 4: Add it to Proxmox

pvesm add lvmthin vmdata-thin --vgname vmdata --thinpool data --content images,rootdir
pvesm status
Steps to create an LVM-thin pool from the shell and add it to Proxmox storage
From disk to Proxmox storage

Monitor thin pool usage

Thin provisioning lets the total size of all VM disks exceed the pool's real size. That's useful, but if the pool fills up, writes fail and VMs can be corrupted. Watch the Data% and Meta% columns:

lvs -o lv_name,lv_size,data_percent,metadata_percent vmdata
  • Keep data usage below about 80–85%.
  • Enable discard on VM disks (Hardware → Hard Disk → Discard) and run fstrim in Linux guests (or use Windows' "Optimize Drives") so deleted data is returned to the pool.
  • Remove old snapshots: they keep consuming space.
  • Extend the pool when needed: lvextend -l +100%FREE vmdata/data, or add a disk with vgextend first.
Diagram explaining thin provisioning: VM disks can promise more space than the pool has, so watch data usage
Watch for overcommit

LVM-thin vs ZFS in Proxmox

LVM-thinZFS
RAM useLowHigher (ARC cache)
Snapshots and clonesYesYes
Built-in redundancyNo (needs RAID below)Yes (mirror, RAIDZ)
Checksums, compressionNoYes
Best forHardware RAID, low-RAM hostsMultiple disks without hardware RAID

Frequently asked questions

What is an LVM-thin pool in Proxmox?

A logical volume that provides thin-provisioned space for VM and container disks, with snapshot support. Space is used only as data is written.

How do I create a thin pool in Proxmox?

Use Disks → LVM-Thin → Create: Thinpool in the web interface, or run pvcreate, vgcreate and lvcreate --thinpool, then pvesm add lvmthin.

What happens when an LVM thin pool is full?

Writes to all thin volumes in the pool fail, which can corrupt VM filesystems. Monitor usage and extend the pool before it fills.

Can a thin pool span two disks?

Yes, if both disks are in the same volume group. But losing either disk loses the whole pool.

Shailabh Suman, CTO at 99RDP
Written byShailabh SumanCTO, 99RDP. Part of the team that runs our servers and answers support.
Keep reading

More VPS and Hosting guides

All VPS and Hosting guides

Need a server for this?

✓ Setup in minutes✓ Full admin access✓ 7-day refund on new services