Via Lattanzio,23 Milano
+39 02 36592025

Resizing kvm qcow2 disk part 2

Digital solution 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: where you can find some info about image format conversion too.