[Libguestfs] [PATCH FOR DISCUSSION ONLY] virt-resize tool for resizing virtual machines.

Dennis Krul dennis at tilaa.nl
Sun Mar 21 09:55:47 UTC 2010


On 19 mrt 2010, at 19:00, Richard W.M. Jones wrote:

> Unfinished patch to implement virt-resize.
>
> The concept is solid.  It just needs a little more thought as to
> exactly how containers [of containers] expand and shrink in response
> to user requests.
>
> Rich.

Cool :)

I did some testing, but I was unable to resize my test image. Is this  
stuff actually functional?

I applied the patch to the git repository (latest commit  
50d2af4f8541a81d047753d7d300804ff649230c)

Input image looks like this:

             Device Boot      Start         End      Blocks   Id  System
fedora-12-kvm.img1   *           1         261     2096451   83  Linux

I used 'virt-resize --expand /dev/vda1 fedora-12-kvm.img test.img' to  
resize it. The resulting image had no partitions at all.

Thanks

--
Dennis Krul <dennis at tilaa.nl>




More information about the Libguestfs mailing list