HI folks,
We have a 2 node PVE 2.2 cluster (yes, we are looking in to upgrading to 3.1 soon). We have both local storage and NFS storage options available for images. I recently manually moved a KVM from local to NFS so that we would have the benefit of live migration at our disposal. I did this with the following steps.
1) stop the VM
2) copy the image to the NFS storage
3) edit the /etc/pve/nodes/hostname/qemu-server/VID.conf file to reflect the new location
4) start the VM
The move went well. Then I tried to test the live migration. It failed, saying that the VM uses local disks, as follows:
Oct 11 16:32:54 starting migration of VM 115 to node 'newtarget' (10.11.12.13)
Oct 11 16:32:54 copying disk images
Oct 11 16:32:55 ERROR: Failed to sync data - can't do online migration - VM uses local disks
Oct 11 16:32:55 aborting phase 1 - cleanup resources
Oct 11 16:32:55 ERROR: migration aborted (duration 00:00:01): Failed to sync data - can't do online migration - VM uses local disks
TASK ERROR: migration aborted
Is there any easy answer that would explain why? Is there a service that may be caching info about the VM that needs restarting? Did I move the host to the NFS storage incorrectly? Any tips would be greatly appreciated. If any more info would be helpful in troubleshooting, just let me know. Thanks in advance.
Regards,
Scott
We have a 2 node PVE 2.2 cluster (yes, we are looking in to upgrading to 3.1 soon). We have both local storage and NFS storage options available for images. I recently manually moved a KVM from local to NFS so that we would have the benefit of live migration at our disposal. I did this with the following steps.
1) stop the VM
2) copy the image to the NFS storage
3) edit the /etc/pve/nodes/hostname/qemu-server/VID.conf file to reflect the new location
4) start the VM
The move went well. Then I tried to test the live migration. It failed, saying that the VM uses local disks, as follows:
Oct 11 16:32:54 starting migration of VM 115 to node 'newtarget' (10.11.12.13)
Oct 11 16:32:54 copying disk images
Oct 11 16:32:55 ERROR: Failed to sync data - can't do online migration - VM uses local disks
Oct 11 16:32:55 aborting phase 1 - cleanup resources
Oct 11 16:32:55 ERROR: migration aborted (duration 00:00:01): Failed to sync data - can't do online migration - VM uses local disks
TASK ERROR: migration aborted
Is there any easy answer that would explain why? Is there a service that may be caching info about the VM that needs restarting? Did I move the host to the NFS storage incorrectly? Any tips would be greatly appreciated. If any more info would be helpful in troubleshooting, just let me know. Thanks in advance.
Regards,
Scott