Hi Stuart,
If this helps, these three lines will do it for you. I'm sure you could
rustle up a script to go through all of your images and do this for you.
rbdexportlibvirt-pool/my-server - | rbd import --image-format2-
libvirt-pool/my-server2
rbdrmlibvirt-pool/my-server
rbdmvlibvirt-pool/my-server2 libvirt-pool/my-server
Best regards
Graeme
On 24/03/14 07:29, Stuart Longland wrote:
Hi all,
This might be a dumb question, but I'll ask anyway as I don't see it
answered.
I have a stack of RBD images in the default v1 format. I'd like to use
COW-cloning on these.
How does one convert them to version 2 format? Is there a tool to do
the conversion or do I need to export each one and re-import them?
Regards,
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com