On Wed, Sep 28, 2022 at 09:00:43AM +0000, Li, Feng F wrote:
We updated the code from Git and test it again, and confirm the issue
have been fixed .
Great, thanks for testing it.
Rich.
root@weibupos:/opt/intel/vddpos# du -sh
/home/intel/imgStore/POS_DATA.qcow2
6.6G /home/intel/imgStore/POS_DATA.qcow2
root@weibupos:/opt/intel/vddpos# cd /home/intel/guestfs-tools/sparsify/
root@weibupos:/home/intel/guestfs-tools/sparsify# ./virt-sparsify --inplace
/home/intel/imgStore/POS_DATA.qcow2
[ 1.9] Trimming /dev/sda2
[ 2.1] Sparsify in-place operation completed with no errors
root@weibupos:/home/intel/guestfs-tools/sparsify# du -sh
/home/intel/imgStore/POS_DATA.qcow2
55M /home/intel/imgStore/POS_DATA.qcow2
-----Original Message-----
From: Richard W.M. Jones <rjones(a)redhat.com>
Sent: 2022年9月27日 23:04
To: Li, Feng F <feng.f.li(a)intel.com>
Cc: libguestfs(a)redhat.com
Subject: Re: [Libguestfs] can not get the virt-sparsify code in libguestfs ?
I have pushed the fix to libguestfs & guestfs-tools, so you should just be able to
'git pull' & recompile.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones Read my
programming and virtualization blog:
http://rwmj.wordpress.com Fedora Windows
cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100
libraries supported.
http://fedoraproject.org/wiki/MinGW
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html