Thank you Anthony! I agree that rbd-mirror is more reliable and manageable
and it's not that complicated to user. I will try both and see which works 
better
for me.

Tony
________________________________________
From: Anthony D'Atri <anthony.da...@gmail.com>
Sent: April 21, 2022 09:02 PM
To: Tony Liu
Cc: ceph-users@ceph.io; d...@ceph.io
Subject: Re: [ceph-users] the easiest way to copy image to another cluster

As someone noted, rbd export / import work.  I’ve also used rbd-mirror for 
capacity management, it works well for moving attached as well as unattached 
images.  When using rbd-mirror to move 1-2 images at a time, adjustments to 
default parameters speeds progress substantially.  It’s easy to see when src 
and dst are synced, then flip primary / secondary, disable mirroring, and rm 
the src.  I’ve used this technique (via an in-house wrapper service) to move 
hundreds of images.  It can handle snaps even, with the right execution.



> On Apr 21, 2022, at 8:40 PM, Tony Liu <tonyliu0...@hotmail.com> wrote:
>
> Hi,
>
> I want to copy an image, which is not being used, to another cluster.
> rbd-mirror would do it, but rbd-mirror is designed to handle image
> which is being used/updated, to ensure the mirrored image is always
> consistent with the source. I wonder if there is any easier way to copy
> an image without worrying about the update/sync, like copy a snapshot
> or a backup image.
>
>
> Thanks!
> Tony
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to