Hello guys,
Due to some testing that I've done, I ended up having some "garbage" in my PVE cluster that I would like to get rid of. First of all the VM's, as shown on the left coloumn under "datacenter" on the GUI. If I remove them, I get this error: TASK ERROR: storage 'drbd1' does not exists. In fact, I did rename the DRBD pool definition in /etc/pve/storage.cfg, and the error is due to this. That said, can I somehow forcefully remove these VMs from the cluster, knowing that very likely the DRBD disk is no longer present?
Last thing, I would like to remove the volumes and resources binded to DRBD9 of the VM's that I don't use anymore. Please note that removing the VM from the PVE GUI, only caused this string to appear: "pending actions: remove". Even upon reboot, the volume and resource are still there:
# drbdmanage list-resources
+------------------------------------------------------------------------------------------------------------+
| Name | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-199-disk-1 | | pending actions: remove |
| vm-201-disk-1 | | pending actions: remove |
| vm-214-disk-1 | | ok |
+------------------------------------------------------------------------------------------------------------+
# drbdmanage list-volumes
+------------------------------------------------------------------------------------------------------------+
| Name | Vol ID | Size | Minor | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-199-disk-1 | 0 | 10 GiB | 100 | | ok |
| vm-201-disk-1 | 0 | 10 GiB | 101 | | ok |
| vm-214-disk-1 | 0 | 10 GiB | 102 | | ok |
+------------------------------------------------------------------------------------------------------------+
How can I get rid of those?
Thank you"
Due to some testing that I've done, I ended up having some "garbage" in my PVE cluster that I would like to get rid of. First of all the VM's, as shown on the left coloumn under "datacenter" on the GUI. If I remove them, I get this error: TASK ERROR: storage 'drbd1' does not exists. In fact, I did rename the DRBD pool definition in /etc/pve/storage.cfg, and the error is due to this. That said, can I somehow forcefully remove these VMs from the cluster, knowing that very likely the DRBD disk is no longer present?
Last thing, I would like to remove the volumes and resources binded to DRBD9 of the VM's that I don't use anymore. Please note that removing the VM from the PVE GUI, only caused this string to appear: "pending actions: remove". Even upon reboot, the volume and resource are still there:
# drbdmanage list-resources
+------------------------------------------------------------------------------------------------------------+
| Name | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-199-disk-1 | | pending actions: remove |
| vm-201-disk-1 | | pending actions: remove |
| vm-214-disk-1 | | ok |
+------------------------------------------------------------------------------------------------------------+
# drbdmanage list-volumes
+------------------------------------------------------------------------------------------------------------+
| Name | Vol ID | Size | Minor | | State |
|------------------------------------------------------------------------------------------------------------|
| vm-199-disk-1 | 0 | 10 GiB | 100 | | ok |
| vm-201-disk-1 | 0 | 10 GiB | 101 | | ok |
| vm-214-disk-1 | 0 | 10 GiB | 102 | | ok |
+------------------------------------------------------------------------------------------------------------+
How can I get rid of those?
Thank you"