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.
or
or
Do i miss any other way?
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
Code:
qemu-img convert -p -f raw -O raw /directory/vm-502-disk-1.raw rbd:pool_name/disk_name
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?