[Libguestfs] Question: resize: non-sparse copying of extended partition

Maxim Perevedentsev mperevedentsev at virtuozzo.com
Tue Feb 2 09:09:49 UTC 2016


Hello everyone!

I faced an issue using virt-resize. I have an image with
extended -> logical -> pv -> lv -> ext4
(although I think LVM does not matter).

And image is 65G virtual size and 1G actualSize.
When I call virt-resize to 60G, it blindly copies the extended partition 
content,
but does it non-sparse (resize.ml:1231), irrespective to --no-sparse option.
So the destination image is 60G actual size.

Is it a bug, or it was made intentionally (why?) ?
TY for answers!

-- 
Your sincerely,
Maxim Perevedentsev




More information about the Libguestfs mailing list