Compressing Windows Image Fails
Posted: Tue Jun 28, 2022 6:22 am
Hi,
Setup a new Windows 10 Node. Trying to compress the image as described here https://www.eve-ng.net/index.php/docume ... n-the-eve/. I'm getting the below errors. There is ample free space on the EVE system.
root@SYD4-VM-EVE01:/opt/unetlab/addons/qemu/win-10# ls -l
total 14787844
-rw-r--r-- 1 root root 15143862272 Jun 27 10:09 virtioa.qcow2
root@SYD4-VM-EVE01:/opt/unetlab/addons/qemu/win-10# virt-sparsify --compress virtioa.qcow2 compressedvirtioa.qcow2
[ 0.0] Create overlay file in /tmp to protect source disk
[ 0.1] Examine source disk
- 25% [##############################---------------------------------------------------------------------------------------------] --:--
virt-sparsify: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
http://libguestfs.org/guestfs-faq.1.htm ... libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sparsify with debugging enabled and include the
complete output:
virt-sparsify -v -x [...]
Setup a new Windows 10 Node. Trying to compress the image as described here https://www.eve-ng.net/index.php/docume ... n-the-eve/. I'm getting the below errors. There is ample free space on the EVE system.
root@SYD4-VM-EVE01:/opt/unetlab/addons/qemu/win-10# ls -l
total 14787844
-rw-r--r-- 1 root root 15143862272 Jun 27 10:09 virtioa.qcow2
root@SYD4-VM-EVE01:/opt/unetlab/addons/qemu/win-10# virt-sparsify --compress virtioa.qcow2 compressedvirtioa.qcow2
[ 0.0] Create overlay file in /tmp to protect source disk
[ 0.1] Examine source disk
- 25% [##############################---------------------------------------------------------------------------------------------] --:--
virt-sparsify: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
http://libguestfs.org/guestfs-faq.1.htm ... libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sparsify with debugging enabled and include the
complete output:
virt-sparsify -v -x [...]