[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: qemu-img convert is TOO slow
From: |
Dmitry |
Subject: |
Re: qemu-img convert is TOO slow |
Date: |
Wed, 26 Apr 2023 01:05:22 +0300 |
As I mentioned before I'm not run 'qemu-img convert' explicitly
It runs internally by virt-sparsify
Moreover, virt-sparsify output says that in zeroes image:
guestfsd: <= zero_free_space (0x137) request length 48 bytes
random filename: /sysroot//o4a0xrlx.zex
.....................
guestfsd: => zero_free_space (0x137) took 125.94 secs
libguestfs: trace: zero_free_space = 0
libguestfs: trace: umount_all
BTW: resize2fs shrinks the filesystem in this image in seconds
On Tue, Apr 25, 2023 at 4:06 AM Supratim Sanyal <supratim@riseup.net> wrote:
> I use zerofree, or simply dd if=/dev/zero of=/tmp/zero.zero
> bs=4096;sync;sync;sync;rm -fv /tmp/zero.zero - some variation of this is
> probably applicable to your case depending on your mount points and
> blocksize.
>
>
--
--
Dmitry