Storage deletion over 2 Clusters

Volker Lieder

Well-Known Member
Nov 6, 2017
50
3
48
45
Hi,
we have installed 2 clusters which have some same storages defined.
If i now delete eg. VM 103 on Cluster A, and have also a VM 103 on Cluster B and they have access to all storages, the storage from VM 103 on cluster B will also be deleted.
Is it possible to change deletion of a vm in that way, that only the storage from the config will be deleted and not all which is named with VM 103?
Best regards,
Volker
 
According to API viewer, GUI warnings, qm man page - the unreferenced disks are NOT destroyed by default.
Code:
--destroy-unreferenced-disks <boolean> (default = 0)
           If set, destroy additionally all disks not referenced in the config but with a matching VMID from all enabled storages.


Although I am slightly curious about the reasons that made you arrive to a setup your described lets ignore that for now.
If you are seeing all disks with matching VMID being removed, even those that are not referenced in the configuration and you have steps that can easily reproduce this - you should post the details here as you may have stumbled onto a bug.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
you also shouldn't share shared storages between clusters without some namespacing (e.g., different exports for SMB/NFS) - among other things locking a shared storage is per cluster, you will run into issues sooner or later otherwise even if you never tick that box/set that flag.
 

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!