Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Resizing kvm qcow2 disk part 2

Digital Innovation Partner

Resizing kvm qcow2 disk part 2

The evolution of KVM and qemu is constant. To increase the size of a qcow2 disk just follow the steps below:

  1. Shut down the virtual machine
  2. Resize the image with

    where SIZE is the size (e.g. 30G for 30 gibibytes).
  3. Boot into an external live OS and resize the partition. 

So if you wanto to extend of 30 gigabytes your image disk:

Old post about qemu image resize: https://synaptica.info/2012/02/20/resizing-kvm-qcow2-disk/ where you can find some info about image format conversion too.