Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Apr 2022 21:38:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263029] [mkimg] qcow2 images are not compressed by default
Message-ID:  <bug-263029-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263029

            Bug ID: 263029
           Summary: [mkimg] qcow2 images are not compressed by default
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dch@freebsd.org

Using qemu-img with compression (from emulators/qemu) yields
significantly smaller images than the original mkimg one, which
appears not to be compressed at all, just sparse.

> qemu-img convert -S 1k -p -f raw -O qcow2 -c oci.raw oci.qcow
    (100.00/100%)

$ ls -FGHls
total 5824488
2551104 -rw-r--r--  1 dch  wheel   2.4G Apr  3 21:16 oci.mkimg.qcow2
2515616 -rw-r--r--  1 dch  wheel   6.0G Apr  3 21:17 oci.raw
 757768 -rw-r--r--  1 dch  wheel   740M Apr  3 21:22 oci.qemu.qcow2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263029-227>