Resize gcow2 image with qemu

To resize gcow2 image, run

To create a gcow2 image, run

You can also use

virt-resize is part of http://libguestfs.org