QCOW2

Wynona Stacy Lockwood stacy at guppylog.com
Thu Dec 19 22:49:45 UTC 2019


On Thu, Dec 19, 2019 at 2:51 AM Alfredo De Luca <alfredo.deluca at gmail.com>
wrote:

> Hi all.
> Just a quick one. I need to merge 2 qcow2 in one. Any idea?
>
>
> --
> *Alfredo*
>

To do this cleanly, enlarge one of the qcow2 files to an appropriate size,
then mount both in a VM, and rsync the contents to the enlarged disk.
Assuming there are no collisions, you should be fine.

Resize the image with qemu-img resize image.qcow2 +SIZE. where SIZE is the
size (e.g. 10G for 10 gibibytes). Do that from the KVM server when the
qcow2 is either unmounted, preferably with the VM in question off.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20191219/5b8a1e01/attachment.html>


More information about the ubuntu-users mailing list