Hi all,
Since it is possible in Luminous to use RBD directly on erasure coded pools the question arises how i can migrate an RBD image from a replicated pool to an erasure coded pool.
I've got two pools configured, one replicated pool named rbd and an erasure coded pool named ecpool
The rbd pool stores a 100GB rbd image called 'disk1'
i've created a 'destination' rbd image in the erasure coded pool called 'disk1ec' using:
rbd -p rbd create --size 100G --data-pool ecpool disk1ec
I've tried: rbd -p rbd copy disk1 disk1ec
but that fails with:
librbd: rbd image disk1ec already exists
Which is obvious because the docs says the copy command will create the destination rbd image.
When i don't create the disk1ec image first and do a rbd copy the result is just another rbd image in the replicated pool.
So how would i copy (or move) the rbd image from replicated to erasure? Is there maybe a flag to the copy command to specify the data_pool for the destination?
Kind regards and thanks in advance for any advice,
Caspar
Caspar
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com