[Bug 459367] New: qemu-img convert -c to qemu1 destroys images
https://bugzilla.novell.com/show_bug.cgi?id=459367 Summary: qemu-img convert -c to qemu1 destroys images Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andi-nbz@firstfloor.org QAContact: qa@suse.de Found By: --- [This was actually RC1, but bugzilla doesn't know this anymore] I installed a bunch of guests in KVM. Then I wanted to compress the qcow1 and 2 images (some were 1 and some 2) to qcow1 using qemu-img convert -c -f qcow[1|2] -O qcow .. .. After the conversion neither KVM nor qemu could still boot from the images, the qemu BIOS always says "Boot failed: not a bootable disk" Pretty nasty bug, this lead to major data loss here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=459367 Stephan Binner <stbinner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |uli@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=459367 User uli@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459367#c1 Ulrich Hecht <uli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Ulrich Hecht <uli@novell.com> 2009-01-05 07:06:37 MST --- I can reproduce that. Seems it only happens with compression enabled. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=459367 User uli@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459367#c2 --- Comment #2 from Ulrich Hecht <uli@novell.com> 2009-01-07 08:32:15 MST --- Investigating this issue I have found that the compression code in block-qcow.c contains several bugs of the kind that makes it obvious that nobody ever used this feature because it cannot possibly work. qcow2 compression seems to be fine, though. I'll check back with qemu-devel to find out if there is any point in fixing qcow(1) compression, or if the code should be ditched. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=459367 User andi-nbz@firstfloor.org added comment https://bugzilla.novell.com/show_bug.cgi?id=459367#c3 --- Comment #3 from Andi N Kleen <andi-nbz@firstfloor.org> 2009-01-07 10:15:31 MST --- There was http://thread.gmane.org/gmane.comp.emulators.qemu/35459 on the list recently, but only for qcow2. So i suppose qcow2 is also broken. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=459367 User uli@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=459367#c4 --- Comment #4 from Ulrich Hecht <uli@novell.com> 2009-01-19 05:17:24 MST --- I could at least convert to qcow2 (compressed) and back without losing data. The brokenness of qcow(1) was introduced by the last patch to block-qcow.c, submitted half a year ago. I guess it's not really used widely. :) We will probably release an update sooner or later, there being a number of vulnerabilities pending as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com