- stop the VM
- run $ qemu-img resize vmdisk.img +10G to increase image size by 10Gb
- start the VM, resize the partitions and LVM structure within it normall
- Boot your system with GPARTED
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
1 2 3 4 5 6 7 8 9 10 11 |
This one is also possible but , dont do that, # 1. stop the VM # 2. move the current image mv old_kutay_kvm.img old_kutay_kvm.img.bak # 3. create a new image qemu-img create -f raw addon.raw 30G # 4. concatenate the 2 images cat old_kutay_.img.bak addon.raw >> old_kutay_.img |