'rbd export | rbd import' is pretty slow. Any other ideas here?
It's significantly faster for me to export an image with qemu-img, scp
it over, and import it again with qemu-img. I'm not sure why the rbd
tools are so much slower then the qemu tools (the backend remains the
same, so it has to be something in `rbd`).
As an example:
# time rbd import --pool XXX CentOS-6.5-x86_64-bin-DVD2.iso test
Importing image: 100% complete...done.
real 0m50.116s
user 0m0.503s
sys 0m0.560s
# time qemu-img convert CentOS-6.5-x86_64-bin-DVD2.iso rbd:XXX/test
real 0m21.877s
user 0m0.675s
sys 0m0.637
On 4/26/2014 1:58 AM, Vladislav Gorbunov wrote:
rbd -m mon-cluster1 export rbd/one-1 - | rbd -m mon-cluster2 import -
rbd/one-1
пятница, 25 апреля 2014 г. пользователь Brian Rak написал:
Is there a recommended way to copy an RBD image between two
different clusters?
My initial thought was 'rbd export - | ssh "rbd import -"', but
I'm not sure if there's a more efficient way.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com