Trying to Remove VM

adamb

Famous Member
Mar 1, 2012
1,322
72
113
Trying to remove a VM, but it seems the disk no longer exists. A bit odd as I don't recall ever deleting it. So how do I delete a VM if the LV is not found?
 
Last edited:
if the vm data has been deleted (/var/lib/vz/root) or (/var/lib/vz/private) and the vm still shows up this is due to the cluster loosing sync (turning red) when the vm was deleted.

when a node drops off the cluster the pve root becomes read only... so it cannot delete the vm config file

to fix this issue .... goto

cd /etc/vz/conf

then find the ###.conf and delete it.... this will remove the vm from the cluster....

** NOTE: this will only work if the cluster is back online
 
you can manually remove the VM/CT config file, but its in /etc/pve/...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!