Control: retitle -1 qemu-utils: qemu-img misbehaves when run against an image 
which is in use
Control: tag -1 + wontfix
Control: tag -1 - lfs

22.08.2013 12:38, Alexander wrote:
Package: qemu-utils
Version: 1.1.2+dfsg-6a
Severity: normal
Tags: lfs

i do:
snap_name=`date +%Y%m%d%H%M%S`
qemu-img snapshot -c $snap_name mail_home.img
qemu-img convert -c -f qcow2 -O qcow2 -s $snap_name 
mail_home.img/arc/mail_home.img
qemu-img snapshot -d $snap_name mail_home.img

i have:
qemu-img: Could not delete snapshot '20130818022924': -2 (No such file or 
directory)

/arc/mail_home.img - is ok

and:
root@virt:/virtuals/images# qemu-img snapshot -l mail_home.img
Snapshot list:
ID        TAG                 VM SIZE                DATE       VM CLOCK
0eP8969UaDeRS2zqMCk0WdPVQ4GP48dzxG345B8f3D86we
PX/I3gJsNGoZiY0FBjmBQbEUhRkw2B5m3xzvH3OIbcfs0uK81CK3rnm+W4dfUxyD4h2DWfag
L4g9KNmMgpFZKj
yuWRCrYOhFemOkpeiJKsTNMMRbQnxA1sTW3FUQwalkd7Yg9aXi2SECGnaEj+LKzsZ7wttqDl
Do23jnX5Kf4vF6zN9t4vjNPaFLK9A5lPh2HNZ3SvP0qs9hh

i stop the virtual machine and restore from backup image.
how to delete invalid snapshot without stopping virtual machine ?

Ok, this is the most important information.

  You run qemu-img WHILE THE IMAGE IS IN USE.

This has never been supported and never worked.
The answer to your question is trivial: do not do this.

For more info, see snapshot_blkdev monitor command.

I'm retitling this bugreport appropriately and tagging it with "wontfix",
so it will be visible.  ALso, I'm not sure why you tagged it with "lfs".

Thanks,

/mjt


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to