From nobody Sun Apr 3 21:38:24 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9E2DD1A42A1D for ; Sun, 3 Apr 2022 21:38:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KWnMj2JkRz3scL for ; Sun, 3 Apr 2022 21:38:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2BDC12531C for ; Sun, 3 Apr 2022 21:38:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 233LcPAL013155 for ; Sun, 3 Apr 2022 21:38:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 233LcPau013154 for bugs@FreeBSD.org; Sun, 3 Apr 2022 21:38:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263029] [mkimg] qcow2 images are not compressed by default Date: Sun, 03 Apr 2022 21:38:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649021905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vGh+cw4Ta2JNB/ftd82t8eeJ9Ge6XoDnSgGCFQavcJI=; b=xXr1t6SrqbpEktjisa1XgHB4f5L98FPcmhHJj5wXhLoawm7FR8OzsIWqCJB0cHGQYMfTGx k7lTYBG+q0BluyXMOHlm0lAY5vex94Ne6g1cXESOkskTnqvBv0UfQ2NOHAwDduvK5J8CKm R0PdZJc09wP7gkGyc24WLWDmcSafhcK/TnDvM7fGxrWvPABhzGeJAZlVQ6rV7FQLOKf7pN AQD1Rc/7m3AdHFygd1qapLaZVE/I/d/u20AfkyaY9zysHQF9G1fOhjHAUuybbmKkso9mG0 J1ORW9xQH/7Zzk4LIC1AaZluhulAC8MIuQq6JIzrpyminn4WBIyIzW9rPcnC3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649021905; a=rsa-sha256; cv=none; b=X/OJ+KELmh8+63ZKXBXV6vBrw3SPgO+9K/fuIqJg23jg+lTtxmP0whWeE8wxWZRzX7fO12 AuhofCS6pkJR0yxkMr2BkvgwecFf6i5ippU2g3oVOq1wnv7udJvC4zzRHI48Nxq18Dqc3q 7Byie+c2Ms3SFvzFWthccckg3HUxZaao4+6BP3t9HxNS70Kd0KP3dEcRTLOxn2C83jbjuy CSjuMoUZVebu8vrP1qNOVxQ13O7eT838xAaGLGLvu+MXmtTN+tLVoSBC5gF/YQJxyw23GV Q6rQsUL1HP6j5ftij5vPNjZdZhnZkpTEWJcdhvrzTJF82+Rrn3cztistvuqnIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=