[ kvm-Bugs-2525768 ] kvm image corruption

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

 



Bugs item #2525768, was opened at 2009-01-21 16:03
Message generated for change (Comment added) made by danv
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2525768&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel van Vugt (danv)
Assigned to: Nobody/Anonymous (nobody)
Summary: kvm image corruption

Initial Comment:
Creating a new bug from my original problems detailed in bug 2490866, because that technically is a different problem.

Reproduced with kvm-83 and kvm-82 vanilla.
Host: Ubuntu 8.04 amd64, Intel Q6600
Guests: Windows 2003 Server, Windows 7 beta at least.

After shutting down the guest cleanly, it's image file is (often but not always) corrupt and unbootable. A fact confirmed by the change in information reported by "qemu-img info"

Example 1 (qcow2 image):
$ qemu-img info windows7beta.qcow2
image: windows7beta.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 5.0G
cluster_size: 4096
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 Fresh_install 1.3M 2009-01-09 15:34:31 00:00:00.000
2 Activated_kvm-82 1.3M 2009-01-09 15:43:27 00:00:00.000

$ qemu -m 512 -usbdevice tablet -redir tcp:3389::3389 windows7beta.qcow2
&
(use and then shut down windows)

$ qemu-img info windows7beta.qcow2
image: windows7beta.qcow2
file format: raw <---------------------------- INVALID
virtual size: 5.0G (5353566208 bytes) <--------- INVALID
disk size: 5.0G

$ qemu -m 512 -usbdevice tablet -redir tcp:3389::3389 windows7beta.qcow2
-S &
(qemu) info snapshots
Snapshot devices: ide0-hd0
bdrv_snapshot_list: error -95

(And the image won't boot)


Example 2 (raw image converted from Example 1):
$ qemu-img info windows7beta.raw
image: windows7beta.raw
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 4.7G

(Install and test lots on the guest)

$ qemu-img info windows7beta.raw
image: windows7beta.raw
file format: raw
virtual size: 7.5G (8049315840 bytes)  <--------- INVALID
disk size: 7.5G

(And now the image won't boot)

----------------------------------------------------------------------

>Comment By: Daniel van Vugt (danv)
Date: 2009-02-16 11:16

Message:
Confirmed the bug is still present in kvm-84.

Just booting up my guest, opening the browser and then shutting down turns
the qcow2 image into a corrupt unbootable "raw" image file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2525768&group_id=180599
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux