qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1354167] Re: On VM restart: Could not open 'poppy.qcow


From: Todd
Subject: [Qemu-devel] [Bug 1354167] Re: On VM restart: Could not open 'poppy.qcow2': Could not read snapshots: File too large
Date: Mon, 25 Aug 2014 23:10:50 -0000

Just putting this up here for anyone unlucky enough to hit this.  This
isn't a fix but it may rescue your borked qcow2 image.

Download and compile the 1.7.2 version of qemu but don't install it.
For example create a directory called qemutemp, download
qemu-1.7.2.tar.bz2, untar it and do ./configure and the make (but don't
do make install).

Then you should be able to convert your image from qcow2 to raw with:

 ./qemu-img convert /var/lib/libvirt/images/yourimagename.qcow2
/var/lib/libvirt/images/yourimagenamefixed.raw

then
virsh edit yourvmname 

and change yourimagename.qcow2 to yourimagenamefixed.raw and change the
driver type from qcow2 to raw.

Cross your fingers and boot the copy.

Note:  This bug spooked management and now I'm mandated to only use
vmware.    And I was soooo close to escape too.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1354167

Title:
  On VM restart: Could not open 'poppy.qcow2': Could not read snapshots:
  File too large

Status in QEMU:
  New

Bug description:
  I'm unable to restart a VM.   virt-manager is giving me:

  Error starting domain: internal error: process exited while connecting
  to monitor: qemu-system-x86_64: -drive
  file=/var/lib/libvirt/images/poppy.qcow2,if=none,id=drive-virtio-
  disk0,format=qcow2: could not open disk image
  /var/lib/libvirt/images/poppy.qcow2: Could not read snapshots: File
  too large

  
  From the command line trying to check the image also gives me:
  qemu-img check poppy.qcow2
  qemu-img: Could not open 'poppy.qcow2': Could not read snapshots: File too 
large

  
  This bug appears with both the default install of qemu for ubuntu 14.04:
  qemu-img version 2.0.0, Copyright (c) 2004-2008 Fabrice Bellard

  And the latest version.
  qemu-img version 2.1.50, Copyright (c) 2004-2008 Fabrice Bellard

  
  Host: 
  Dual E5-2650 v2 @ 2.60GHz
  32GB Memory
  4TB Disk space (2.1TB Free) 

  Host OS: Ubuntu 14.04.1 LTS 64bit

  Guest:
  Ubuntu 14.04 64bit
  Storage Size: 500gb

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1354167/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]