[libvirt-users] Fwd: Does virsh actually work?

Eric Blake eblake at redhat.com
Wed Sep 3 23:35:14 UTC 2014


On 09/03/2014 04:09 PM, Gary Hook wrote:
> On Wed, Sep 3, 2014 at 2:12 PM, Eric Blake <eblake at redhat.com> wrote:
> 
>> On 09/03/2014 01:05 PM, Gary Hook wrote:
>>
>>>
>>> root at huey:/tmp# virsh migrate --live --p2p
>>
>> This command does not default to migrating storage,...
>>
> 
> Oh, you mean like this?
> 
> root at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140903/5e968a47/attachment.sig>


More information about the libvirt-users mailing list