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).
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.