Bug 1324006
Summary: | RFE: storage: don't use qemu-img convert if cloning volume without format conversion, just us cp method | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | James Hogarth <james.hogarth> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED DEFERRED | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | agedosier, berrange, clalancette, crobinso, imz, itamar, jforbes, laine, libvirt-maint, redhat, veillard, virt-maint, yehuda |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-18 13:57:44 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: |
Description
James Hogarth
2016-04-05 10:34:48 UTC
Libvirt invokes 'qemu-img convert' for any non-raw format, which doesn't know anything about reflink, hence the error. That's to support duplicating a volume into a different format. But we can probably just use the plain cp method if both formats match. It needs to be investigated though if qemu-img convert is giving us other semantics that we can't drop (In reply to Cole Robinson from comment #1) > Libvirt invokes 'qemu-img convert' for any non-raw format, which doesn't > know anything about reflink, hence the error. That's to support duplicating > a volume into a different format. But we can probably just use the plain cp > method if both formats match. It needs to be investigated though if qemu-img > convert is giving us other semantics that we can't drop It is common to use "qemu-img convert" to get a clean qcow2 image - Ensures it is using the latest qcow2 features - Reduces space consumed if the clusters in the original image were no longer holding guest data and TRIM wasn't used - Reduces space consumed if internal snapshots were deleted Given the age of this bug it doesn't seem likely that anyone will implement support for reflink with non-raw formats in the forseeable future and keeping this bug open won't change that. |