[libvirt-users] Snapshots - can't take a snapshot with running VM

Julian Robbins julian.robbins at q-par.com
Thu Jun 17 12:01:06 UTC 2010


On 17/06/10 11:40, Julian Robbins wrote:
> On 15/06/10 17:53, Julian Robbins wrote:
>> I'm using vers 1.84 of QEMU/Kvm from dnjl's PPA for Lucid.
>
> After trying again, I can no longer get snapshots to work whilst vm 
> guest in running.
>
> I have disabled apparmor so that it is only in 'complain' mode on the 
> host, but still get :-
>
> Error -5 while writing VM
>
> whilst trying a
>
> virsh # snapshot-create openerp
>
> Whether running virsh as normal user or root. I'm also getting
>
> 'libvirtError: Timed out during operation: cannot acquirestate change 
> lock' errors too, after I've tried to take a snapshot.

Apologies after replying to my own post. After applying the latest 
update of kvm, libvirt etc from Daniel Baumann (dnjl)'s PPA (the one I 
had been previously using), I noticed a change was related to giving 
more permission to libvirt relating to access to disk storage when 
apparmor is running.

With this update 0.8.1-2ubuntu1.1~dnjl1~lucid0, snapshots are fine again 
now. I can create/delete whilst guest is running or shutdown

-- 
Kind regards

Julian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100617/4d44a1a1/attachment.htm>


More information about the libvirt-users mailing list