Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I can think of a few ways this can be done, they are a little bit dirty though. It will also depend on your backend.

What are you using for cinder as a backend?

I can think of a few ways this can be done, they are a little bit dirty though. It will also depend on your backend.

What are you using for cinder as a backend?backend? Answered: Ceph

You could use a script to create a cinder volume of the appropriate size and name.

Then simply dd the logical volume inside the vmdk to the newly create ceph rbd. This isn't ideal since it will write out every bit, so you would need to do some sort of sparse copy to only get the used data. There are a few ways to do that with some cloning tools but there may be a VMDK method as well. That would work best.