Re: snapshot troubles

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

 



Hi Juergen,

if you are using kvm/qemu with libvirt you can try to delete the
snapshot with the qemu monitor commands. 
The general syntax is 
virsh qemu-monitor-command --hmp <domain> '<command> [...]'

So you can try
virsh qemu-monitor-command --hmp DOMINO1-prealloc 'info snapshots'

and thne delete it with the provided snapshot ID 
virsh qemu-monitor-command --hmp DOMINO1-prealloc 'delvm <ID>'

This will delete the snapshot from your diskimage.


Christian.



On Di, 2013-01-22 at 18:00, libvirt-users-request@xxxxxxxxxx wrote:
> Message: 3
> Date: Mon, 21 Jan 2013 23:43:57 +0100
> From: jurgen.depicker@xxxxxx
> To: libvirt-users <libvirt-users@xxxxxxxxxx>
> Subject:  snapshot troubles
> Message-ID:
> 	<OF4AE792B7.46B8D599-ONC1257AFA.0073C652-C1257AFA.007D0C38@xxxxxx>
> Content-Type: text/plain; charset="us-ascii"
> 
> Dear all,
> I created some snapshots, a long time ago, using the xml description 
> option, so the snapshots have a name with a space in it...
> Really a bad choice apparently, since it seems impossible to delete
> them 
> now: I cannot find how to enter the snapshot name properly due to the 
> space.  Quotes don't seem to help; escaping the space doesn't help
> either.
> Anybody knows how to solve this?
> eg:
> snapshot-delete DOMINO1-prealloc --snapshotname 'W2K3-virgin install'
> error: Domain snapshot not found: no snapshot with matching name 
> ''W2K3-virgin'
> (-> notive also the extra ' added )
> 
> root@VLET3:~# time virsh snapshot-delete DOMINO1-prealloc
> "W2K3-virgin\ 
> install"
> error: unexpected data 'install'
> 
> Thanks, Juergen
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://www.redhat.com/archives/libvirt-users/attachments/20130121/30da0784/attachment.html>
> 



_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux