Hello guys
Today I had a view into the storage/disks of the nodes in our cluster and found some leftovers.
Dunno, how we arrived to have them.
Usually one needs to check the «Delete unreferenced disks» checkbox while deleting a vm. Does this checkbox automatically also include snapshots?
As we have this leftovers, they are impossible to delete. perhaps because the vm number has been reassigned?
They are having the same vm number (102) but the first disk is the currently running smpt-server, while the secondary disk is a leftover from the old packetfence, that was running as vm number 102.
Trying to delete the secondary disk, pve says no no, this disk is part of the running 102. But in the detail config of 102, these disks are not showing neather in Hardware/Disk nor in Snapshot.
Today I had a view into the storage/disks of the nodes in our cluster and found some leftovers.
Dunno, how we arrived to have them.
Usually one needs to check the «Delete unreferenced disks» checkbox while deleting a vm. Does this checkbox automatically also include snapshots?
As we have this leftovers, they are impossible to delete. perhaps because the vm number has been reassigned?
Code:
Example of our cluster:
pve-01:/etc/pve$ sudo rbd -p capacity info vm-102-disk-0
rbd image 'vm-102-disk-0':
size 16 GiB in 4096 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: b7ac51319aba11
block_name_prefix: rbd_data.b7ac51319aba11
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Thu Sep 16 16:07:36 2021
access_timestamp: Sun May 28 22:00:29 2023
modify_timestamp: Wed May 31 12:51:41 2023
pve-01:/etc/pve$ sudo rbd -p capacity info vm-102-state-pre_install_packetfence
rbd image 'vm-102-state-pre_install_packetfence':
size 653 MiB in 164 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: bd8a71826a77a1
block_name_prefix: rbd_data.bd8a71826a77a1
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Thu Aug 26 14:54:17 2021
access_timestamp: Thu Aug 26 14:54:17 2021
modify_timestamp: Thu Aug 26 14:54:17 2021
They are having the same vm number (102) but the first disk is the currently running smpt-server, while the secondary disk is a leftover from the old packetfence, that was running as vm number 102.
Trying to delete the secondary disk, pve says no no, this disk is part of the running 102. But in the detail config of 102, these disks are not showing neather in Hardware/Disk nor in Snapshot.