On Mon, Oct 21, 2019 at 8:03 AM <yveskretzsch...@web.de> wrote:
>
> Hi,
>
> I have a working RBD Mirror Setup using ceph version 14.2.4 on both sides.
> I want to have a clone of a non primay image.
>
> I do it this way:
>
> 1. create snapshot of primary image
> 2. wait for the snapshot to appear on the backup cluster
> 3. create a clone in backup cluster (using Simplified RBD Image Cloning - no 
> snap protect)
> 4. delete the snapshot of the primary image - this is to save space because 
> the clone will last a long time
> 5. if I do rbd --cluster backup snap ls --all IMAGENAME it presents the 
> deleted snapshot in the namespace trash
> 6. delete the clone
> 7. I expected that deleting the clone would purge the snapshot from trash, 
> but it doesn't
> 8. trash purge or trash remove is impossible (read only filesystem)
>
> Only possbility for me to purge the trash is to disable und reenable the 
> image mirror.
>
> Is there something wrong in this order.
> Essential for me is the snaphot removal of the primary image.
> Flatten the clone is no option because of space.

Hmm, this is a clever edge case that was never thought of when adding
support for clones against non-primary images and v2 cloning w/ the
trash namespace. I opened a tracker ticket for the issue [1].

> Regards,
> Yves
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io

[1] https://tracker.ceph.com/issues/42405

-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to