[SOLVED] removal of storage with allocated disks is possible

tvtue

New Member
Nov 22, 2024
21
3
3
Hello all,
I have noticed that it possible to remove a storage e.g. a ceph rbd or an iSCSI-shared-lvm on which disk images reside that belong to existing vms. Is this a bug or a feature? And if it is a feature, what is the purpose of it?
Regards,
Timo
 
And if it is a feature, what is the purpose of it?
There is an expectation that system administrators take precautionary steps before removing critical components of the system.

In earlier versions, Proxmox VE included a safeguard that prevented storage from being removed while it was still in use. However, this created another problem - if the storage was offline, it could not be removed via the PVE CLI, forcing administrators to manually edit configuration files instead.

There are many possible variables in situations like this:
  • The storage might be online or offline.
  • A particular disk might be missing and therefore cannot be removed directly.
  • Virtual machines may be online or offline.
  • VMs might reside on a node that is itself offline.
Proxmox VE is primarily designed for business and enterprise environments, or for advanced home users, where the assumption is that the administrator understands these edge cases and manages them carefully.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: UdoB