Delete VM where the storage has changed?

Jun 1, 2023
31
12
8
Hi,

how can I destroy / delete a VM where the storage for the VMs disks is not available anymore:

root@proxmox1:~# qm destroy 200 --purge
storage 'gfs_vms' does not exist
root@proxmox1:~#

We tested glusterfs before but do not use it any longer, but we still have VMs configured where this old glusterfs storage is configured. This VMs I'd like to remove...

What are the manual steps to remove all configs related to a VM?

Cheers and thanks,

Schoepp
 
When the storage is definetly gone, just delete the qm file under /etc/pve/nodse/NODENAME/qemu-server
Make sure theres no HA enabled for that ressource anymore.

Does it work without the purge parameter?
 

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!