Personal Software Technical

Proxmox – Unable to delete KVM Virtual Machine

First time administrating a proxmox system (no RTFM for me) when I ran into an issue of being unable to delete a virtual machine.  The issue itself may have been caused by me removing the storage before deleting the virtual machine.

The error message:

TASK ERROR: storage ‘proxmoxHDD’ does not exists

I attempted using the qm destroy <vmid> command and got the following error:

storage ‘<name of storage>’ does not exists

I was able to locate the configuration file under /etc/pve/qemu-server

Ran the following to delete the config

@proxmox1:/etc/pve/qemu-server# rm jermsmit-vm.conf

Moments later the web ui refreshed and the orphaned vm was gone



2 replies on “Proxmox – Unable to delete KVM Virtual Machine”

that didn’t work but removing the conf does remove it if the hard drive died and will not remove from the control panel.

cd /etc/pve/nodes/proxmox/qemu-server
rm 101.conf

change 101 to your vm id #

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.