[SOLVED] Proxmox VE GUI allows deleting storage even though there are VMs referring to it

Jul 20, 2022
133
10
18
I have a VM with a virtual disk on NVME1N1:

1665768344337.png

Here is the storage:

1665768445420.png

And, I delete it:

1665768504538.png

Now it's gone:

1665768569130.png

Now I go back to the original VM, bullwinkle. The virtual disk is still there. When I try to assign it to another VM:

1665768720525.png

I am requesting a change in the GUI. If anything is referencing a storage, do not allow it to be deleted. And, if you want to be kind to the user, please say exactly which references are preventing the storage from being deleted.

Thanks.
 
Last edited:
I am requesting a change in the GUI. If anything is referencing a storage, do not allow it to be deleted. And, if you want to be kind to the user, please say exactly which references are preventing the storage from being deleted.

even if we check for references, nothing can stop another node than the one where you are requesting the removal from concurrently creating new ones. PVE uses a multi-master cluster architecture where each node is responsible for local resources (which includes local storages). there are also very very many places that would need to be checked (all guest configs including all snapshots, backup jobs, ..). it's also possible that the removal even with references is intentional (to re-add it with different settings which are not editable over the GUI, for example).
 

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!