I am trying to live migrate my KVM based VM from one host to another for non shared storage using virsh migrate. I have set both the hostnames at /etc/hosts on each of the host. Also I have set passwordless SSH between the hosts. Still i am not able to live migrate my VM.
Steps I followed:
- Created a vm on host1 with a lv
- Created a dummy lv on host2
- symlink the host2 lv with host1 vm disk
- executed command:
virsh migrate --live --persistent --verbose --copy-storage-all --dname test_1 --desturi qemu+ssh://root@host2/system v1007
I get error:
error: internal error: cannot precreate storage for disk type 'block'
Can anyone help to sort this issue? Is anything that I might be missing out? Thank you