[libvirt-users] Can not restore domain from a shared state file

Zhang Qian zhq527725 at gmail.com
Tue May 11 08:40:38 UTC 2010


Hi,

I have two KVM host: h1 and h2, both of them mount an NFS directory as a
shared storage.
I can save (virsh save <domain> <file>) a domain in h1 to a state file in
the shared storage successfully, but failed to restore it from h2 with the
following error message:
# virsh restore testRes.dat
error: Failed to restore domain from testRes.dat
error: operation failed: failed to start VM

I can always restore it from h1, but sometimes works for h2 (wait for a
while, then "virsh restore" command may succeed in h2). I guess the state
file generated by "virsh save" command is not intact from h2 point view, may
be cause by the cache of NFS server?

Any suggestions will be really appreciated, thanks in advance!


Regards,
Qian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100511/a4eaa289/attachment.htm>


More information about the libvirt-users mailing list