MIgrate KVMs to ceph cluster

Sakis

Active Member
Aug 14, 2013
121
6
38
I am testing my new ceph cluster and i try to find the best way to migrate machines in there.

The simplest is to backup the kvm and restore it at ceph pool.

Another way is to convert the images, output directly to ceph pool and then edit the conf.

Code:
 qemu-img convert -p -O rbd /directory/vm-502-disk-1.raw rbd:pool_name/disk_name
or
Code:
 qemu-img convert -p -f raw -O raw /directory/vm-502-disk-1.raw rbd:pool_name/disk_name
or
Code:
 qemu-img convert -p -f qcow2 -O raw /directory/vm-502-disk-1.raw rbd:pool_name/disk_name

Do i miss any other way?