VM disk usage over 90%

Tony1983

New Member
Dec 16, 2024
3
0
1
Hey, I have deleted a couple of vms a few weeks ago from an LVM-storage. There are two LUNs with 2TB each. The vm disks on the storage are just 1 TB. When I check lvs it shows several del-vm entries. The machines do not exist anymore.

LV VG Attr LSize
del-vm-101-disk-0 VG-DX100-LUN2 -wi-a----- 60.00g
del-vm-154101-disk-0 VG-DX100-LUN2 -wi-a----- 80.00g
del-vm-9940-disk-0 VG-DX100-LUN2 -wi-a----- 500.00g
del-vm-9941-disk-0 VG-DX100-LUN2 -wi-a----- 500.00g

All of these are not needed anymore. How can I get rid of those and get the storage space back.

Thank you in advance.
 
Hi,

How you removed the VMs?

All of these are not needed anymore. How can I get rid of those and get the storage space back.
Can you try manually remove the unused LVs using `lvremove` command e.,g.:

Bash:
lvremove path/to/VM/del-vm-101-disk-0
 
  • Like
Reactions: Tony1983
I got it already. It is:

lvremove /dev/VG-LUN1_BLABLA/del-vm-9940-disk-0

confirm with "y" for "yes" and it is gone and your disk usage goes down immediately! :)
Hi,

How you removed the VMs?


Can you try manually remove the unused LVs using `lvremove` command e.,g.:

Bash:
lvremove path/to/VM/del-vm-101-disk-0
That's exactly it! Solved! Thanks a lot!