Filtri Menu 0 0.00

Resizing kvm qcow2 disk part 2

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
    qemu-img resize image.qcow2 +SIZE
    

    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:

qemu-img resize image.qcow2 30G

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.

 

Share:

Subscribe to newsletter

Subscribe to our newsletter to receive early discount offers, updates and new products info.
Top