Delete unused LVM-partitions

r371769

Member
Feb 23, 2020
9
0
6
58
Hi,

while working with proxmox it happens that there are unused LVM-partitions of the VM's remaining at the proxmox system drive. How it's possible to identify these and to delete them?

thanks
Frank
 
Hey Frank,

when removing a VM associated logical volumes should be removed automatically. With lvs you get a list of the logical volumes present, the name contains the id of the VM. With lvremove pve/<lv-name> you can remove logical volumes. Just make sure you don't delete any lv's that are still in use by a VM.
 
  • Like
Reactions: r371769
Hi Hannes,

thank you fpr your support. So I will check the volumes for usage and delete them manually.