[fedora-virt] Suddenly KVM/virt-manager is failing on qcow2 images

Richard W.M. Jones rjones at redhat.com
Sun Aug 1 20:49:41 UTC 2010


On Sat, Jul 31, 2010 at 12:32:57PM +0800, Richard Chan wrote:
> Hi, today all my KVMs based on qcow2 images have failed with "not a bootable
> hard disk" message.
> 
> I am running F13 x64 fully yum updated on AMD Phenom II X4.
> 
> All these VMs were working fine (linux,freebsd,winxp).
> 
> When I booted a VM from an ISO image and looked at the /dev/vda - there was
> a "corrupt" partition table.

I'd recommend using virt-rescue for this task.

I'm afraid I've not seen the qcow2 problem that you are seeing.
There's no recent qcow2 corruption issue that I'm aware of.  On the
other hand, using qcow2 does increase the opportunity to break things
via user error.  Did you perhaps do any of the following:

 - write to a qcow2 backing disk?

 - use qcow2 snapshots at all?

 - run out of disk space on the host while a VM was writing to qcow2 disk?

 - use any host program to write to the disk file?

 - have multiple VMs writing to one disk?

 - run guestfish / libguestfs in write mode on a live VM?

Also check for regular host disk errors (/var/log/messages, dmesg).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


More information about the virt mailing list