
On 09/03/2014 04:09 PM, Gary Hook wrote:
On Wed, Sep 3, 2014 at 2:12 PM, Eric Blake <eblake@redhat.com> wrote:
On 09/03/2014 01:05 PM, Gary Hook wrote:
root@huey:/tmp# virsh migrate --live --p2p
This command does not default to migrating storage,...
Oh, you mean like this?
root@huey:/tmp# virsh migrate --live --p2p --copy-storage-all e7f75b9b-9ed4-4f7e-aa86-e481ab911d6f qemu+ssh://10.10.11.204/system --verbose
Yes.
error: Failed to open file '/mnt/store01/virt/e7f75b9b-9ed4-4f7e-aa86-e481ab911d6f.qcow2': No such file or directory
Alas, _this_ is the case mentioned where you have to pre-create the destination file, because libvirt hasn't yet been taught to auto-create it. But with --copy-storage-all in use, you should now be fine just touch'ing the file before attempting the migration.
http://libvirt.org/migration.html should document useful information such as this; would you like to submit a patch to help improve that web page? The sources are in libvirt.git under docs/migration.html.in.
Yep, read that page (several times). At such point I have anything of substance to add, absolutely, yes, I very much want to contribute. I am just starting out building my skills on KVM and libvirt (background is with PHYP on Power) but fully intend to become conversant with the packages.
Welcome to the community, and hope to hear more from you! -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org