Re: [libvirt] Restore after restart libvirtd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Diego Woitasen wrote:
> Hi,
>  I 'm playing with save/restore domains. It's working, but if I
> restart libvirtd after 'save domain file' and then try to restore it I
> get:
> 
> error: Failed to restore domain from /tmp/domain.out
> error: operation failed: domain 'domainname' is already defined with
> uuid 17c77406-b6e3-621a-1fae-420affce8f48
> 
> If I move domainname.xml out of libvirt config. directory it works,
> but I think this should not be necessary.

No, that's definitely not necessary, so something is wrong.  I just tried the
same thing on the head of libvirt git, and it worked just fine:

# ./daemon/libvirtd --verbose --listen
# ./tools/virsh save <guest> /tmp/foo.save
# <kill libvirtd>
# ./daemon/libvirtd --verbose --listen
# ./tools/virsh restore /tmp/foo.save

What version of libvirt are you using?  What are the exact steps you are taking
to try this out?

-- 
Chris Lalancette

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]