Alex's Ramblings

Removing the 'Local LVM' data disk on Proxmox 5

May 12, 2019

When installed by default, Proxmox 5 VE adds a partition called local-lvm which can hold data, however it isn’t very useful as it cannot be accessed directly from the filesystem and takes around 50% of the total OS drive space.

In this short tutorial I will explain how to remove the local-lvm partition.

First you will need to delete local-lvm from the Storage area using the GUI.

Then log in to the console (via the GUI or SSH) and run the following three commands:

lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root

If everything went well you should have now reclaimed all of the space taken out by the local-lvm partition.