How to make a copy of a qemu sparse disk image?
Issue
- How can I make a copy of a Qemu sparse disk image using
qemu-img? - How can I shrink existing
qcow2image file?
Environment
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- KVM virtual machines
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.