Possibly corrupt qcow2 image #221
Comments
|
So, after trying again with a new disk image (created with |
|
Since the majority of our testing focuses on qcow2 files created by Is your reproduction case easily scriptable? If so, could you file an issue against https://github.com/mirage/ocaml-qcow? Thanks! |
|
I've been having this issue too. No automated way to reproduce, but I can reproduce easily starting with the images at http://download.cirros-cloud.net/0.4.0/. I ran the first steps on a linux box though.
Start this image with hyperkit:
Connect to its serial console:
Login to the VM, and then run:
The freeze described here should happen shortly after. If in the very first step, we create the qcow2 image with lazy refcounts enabled (which
|
|
Forgot to mention, I was initially reproducing the bug on a totally different linux VM, so I suspect it can be reproduced by triggering a big enough growth of a qcow2 file without lazy refcounts |
This works around a bug in hyperkit qcow2 implementation on macos which would cause the whole VM to freeze when it tries to dynamically grow the qcow2 image moby/hyperkit#221
This works around a bug in hyperkit qcow2 implementation on macos which would cause the whole VM to freeze when it tries to dynamically grow the qcow2 image moby/hyperkit#221 Lazy refcounts are a qcow2 performance improvement which should not have many adverse effects (slower startup in case of improper VM shutdown), see https://lists.gnu.org/archive/html/qemu-devel/2012-06/msg03827.html code-ready#38
This works around a bug in hyperkit qcow2 implementation on macos which would cause the whole VM to freeze when it tries to dynamically grow the qcow2 image moby/hyperkit#221 Lazy refcounts are a qcow2 performance improvement which should not have many adverse effects (slower startup in case of improper VM shutdown), see https://lists.gnu.org/archive/html/qemu-devel/2012-06/msg03827.html This fixes code-ready#38. code-ready#38
This works around a bug in hyperkit qcow2 implementation on macos which would cause the whole VM to freeze when it tries to dynamically grow the qcow2 image moby/hyperkit#221 Lazy refcounts are a qcow2 performance improvement which should not have many adverse effects (slower startup in case of improper VM shutdown), see https://lists.gnu.org/archive/html/qemu-devel/2012-06/msg03827.html This fixes #38. #38
I'm evaluating Hyperkit as a platform for managing a development VM. I've built the
hyperkitbinary with the qcow2 support and have run into an issue with a possibly corrupt disk image. I was installing NixOS on the disk when I believe thenixos-installbinary ran out of memory. I forcefully killed thehyperkitprocess, started it again with more memory and was going to try the install again. Unfortunately, now I can't get the VM to interact with the disk correctly: commands likefsckandmountjust hang. Here's the output I received the last time I tried to runfsckafter booting up with the install CD (disk attached to Hyperkit withahci-hd):qemu-img checkandqcow-tool checkboth say everything is OK. I've also ranqcow-tool repairon the image. Here's the output fromqcow-tool info:Any advice or guidance is much appreciated.
The text was updated successfully, but these errors were encountered: