Hi
For me with ceph version 17.2.6 rbd doesn't allow me to (delete (I've
configured that delete only moves image to trash)/) purge an image that
still has snapshots. I need to first delete all the snapshots.
from man page:
rbd rm image-spec
Delete an rbd image (including all data blocks). If the image
has snapshots, this fails and nothing is deleted.
rbd snap purge image-spec
Remove all unprotected snapshots from an image.
rbd snap rm [--force] snap-spec
Remove the specified snapshot.
rbd snap unprotect snap-spec
Unprotect a snapshot from deletion (undo snap protect). If
cloned children remain, snap unprotect fails. (Note that clones may exist
in different pools than the parent snapshot.)
Regards
Reto
Am Mi., 10. Mai 2023 um 20:58 Uhr schrieb Work Ceph <
[email protected]>:
> Hello guys,
> We have a doubt regarding snapshot management, when a protected snapshot is
> created, should it be deleted when its RBD image is removed from the
> system?
>
> If not, how can we list orphaned snapshots in a pool?
> _______________________________________________
> ceph-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]