[Libguestfs] Question: running appliance commands over guest fs (resize2fs -P).

Maxim Perevedentsev mperevedentsev at virtuozzo.com
Tue Sep 15 14:28:40 UTC 2015


On 09/15/2015 04:57 PM, Richard W.M. Jones wrote:
> On Tue, Sep 15, 2015 at 04:31:46PM +0300, Maxim Perevedentsev wrote:
>> Hello everyone!
>>
>> I am working on resizing qcow2 images using virt-resize+liguestfs.
> If you're shrinking, I believe a better way to do this is to sparsify
> the image.
And how would it help? If I shrink, a want a VM to occupy less maximum 
space. virt-sparsify (I guess you are talking about it) will reduce 
space taken by guest disk image by now, but won't tighten the upper 
limit for guest.

-- 
Your sincerely,
Maxim Perevedentsev




More information about the Libguestfs mailing list