User Tools

Site Tools


myhelp:kvm_qemu

**This is an old revision of the document!**

How to extend a disk with the CLI

  1. List the qcow2 files from your VM
    virsh domblklist myVM
  2. Check the current size from the file
    qemu-img info /var/lib/libvirt/images/myVM.qcow2
  3. Resize the the disk file
    qemu-img resize /var/lib/libvirt/images/myVM.qcow2 +16G
myhelp/kvm_qemu.1690446333.txt.gz · Last modified: by ulrich