Delete VM where the storage has changed?

Jun 1, 2023
35
14
13
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?