|
From: | Laurent Coustet |
Subject: | Re: [Qemu-devel] "Hot" resizing QCow2 image using a simple python script |
Date: | Tue, 29 Dec 2009 16:32:23 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
Le 29/12/2009 14:07, Laurent Coustet a écrit :
Hi, I just wrote a small python script that helps resizing a QCow2 image without rewriting it. I'm sure that's not the correct way to do it, but it seems to work well. Beware this script DO NOT SUPPORT SHRINKING !! It do not check any error case, so; use at your own risks !
address@hidden:/home/kvm$ qemu-img check etch_stable_20091223.qcow2 ERROR: invalid cluster offset=0x657261746f720000 ERROR: invalid cluster offset=0x657261746f730000ERROR l2_offset=657261746f722026: Table is not cluster aligned; L1 entry corrupted
ERROR: I/O error in check_refcounts_l1 ERROR: I/O error in check_refcounts_l1 qemu-img: An error occurred during the check Hahahaha not so easy :-) Trying to find what's going on :) -- Laurent Coustet
[Prev in Thread] | Current Thread | [Next in Thread] |