Bug 2013916
Summary: | virt-sparsify fails with the error: Backing file specified without backing format | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | YongkuiGuo <yoguo> |
Component: | libguestfs | Assignee: | Virtualization Maintenance <virt-maint> |
Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.6 | CC: | rjones, virt-maint |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.44.0-4.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-10 13:21:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1998820 | ||
Bug Blocks: |
Description
YongkuiGuo
2021-10-14 06:15:07 UTC
We'll need the same fix as: https://bugzilla.redhat.com/show_bug.cgi?id=1999419 (RHEL 9) https://bugzilla.redhat.com/show_bug.cgi?id=1998820 (upstream) Upstream fix is: https://github.com/libguestfs/libguestfs/commit/45de287447bb18d59749fbfc1ec5072413090109 Verified with package: libguestfs-1.44.0-4.module+el8.6.0+12969+f61072d9.x86_64 Steps: 1. On rhel8.6 host # wget http://download.eng.pek2.redhat.com/rhel-8/composes/RHEL-8/RHEL-8.6.0-20211008.1/compose/BaseOS/x86_64/images/rhel-guest-image-8.6-493.x86_64.qcow2 2. # virt-sparsify rhel-guest-image-8.6-493.x86_64.qcow2 outdisk [ 7.0] Fill free space in /dev/sda2 with zero [ 8.3] Fill free space in /dev/sda3 with zero [ 88.0] Copy to destination and make sparse [ 148.4] Sparsify operation completed with no errors. virt-sparsify: Before deleting the old disk, carefully check that the target disk boots and works correctly. virt-sparsify can be run successfully. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1759 |