Easy way to permanently wedge a VM

CGC

New Member
May 25, 2023
19
3
3
Select the VM you want to wedge, dettach the boot volume.

Get notice about a snapshot holding things up.

Try to remove snapshot, process begins, but can't find boot volume.

Try anything else, and blocked by the snapshot erasure for a volume no longer attached to the machine.

Get annoyed, decide to just remove the VM ... and can't, because it's locked for snapshot delete.

Most of my storage is ZFS, there are other disks, but not the boot volume for the problem VM.

I swim like a shark with ZFS, but have never used LVM. I suspect the solution to this is a command line process and then maybe a reboot for good measure. Getting a VM into this condition should be impossible, and yet here I sit with virtual egg on my face.
 
I don't quite understand what yo tried to achieve and what your problem is
 
The systems I use have small boot drives and large spindles. I'm brand new to Proxmox, so this came during my second attempt, when I manually paritioned in order to have some disk left for ZFS cache. I was moving things from LVM to ZFS and what I found was that there can be some lag between the web interface and things happening, and moving volumes around, especially between machines, seems to require command line intervention.

I got annoyed, went away for a long time (days) and when I returned I had the result I was seeking - stuff moved to ZFS, and dangling dettached disks on LVM that I was able to delete.
 

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!