Richard W.M. Jones
2022-Sep-27 15:04 UTC
[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
Li, Feng F
2022-Sep-28 09:00 UTC
[Libguestfs] can not get the virt-sparsify code in libguestfs ?
We updated the code from Git and test it again, and confirm the issue have been fixed . Thanks so much again !!! root at weibupos:/opt/intel/vddpos# du -sh /home/intel/imgStore/POS_DATA.qcow2 6.6G /home/intel/imgStore/POS_DATA.qcow2 root at weibupos:/opt/intel/vddpos# cd /home/intel/guestfs-tools/sparsify/ root at 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 at 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 at redhat.com> Sent: 2022?9?27? 23:04 To: Li, Feng F <feng.f.li at intel.com> Cc: libguestfs at 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