Repository navigation
Orphaned snapshots remain after deleting volumes in CLVM_NG primary storage #14437
Replies: 4 comments
|
@mbertolina , I think this is expected behaviour. After you delete a volume you can still create a new volume from any snapshot that was created from the old one, and the snapshot is expected to be deleted as a separate entity. |
|
@DaanHoogland thanks for your reply. What is the reason of having an snapshot with a reference to a deleted volume? Expected behavior: |
that last bit could be discussed, but on the other hand a volume is re-storable if it has not yet been garbage collected. Volumes and snapshots are first class citizens. Snapshots have a lifecycle not necessarily links to the volume they where created from, but thay are still created from the volume (even if it doesn't anymore exist) If this would lead to bugs these need to be addressed of course. Did you encounter any, @mbertolina ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
problem
Issue: Orphaned snapshots remain after deleting volumes in CLVM_NG primary storage
I'm seeing an issue with CLVM_NG primary storage where snapshots persist for volumes that have already been deleted.
Reproduction steps:
Observed behavior:
The snapshot remains in the system, still linked to the deleted volume.
Additional observations:
Expected behavior:
Deleting a volume should also remove (or orphan-clean) any snapshots associated with it, or at minimum the snapshot should no longer reference a non-existent volume.
versions
ACS: 4.23
Primary storage: CLVM_NG
Hypervisor: Rhel9 KVM
All reactions