Gebruikershulpmiddelen

Site-hulpmiddelen


li_kvm

Dit is een oude revisie van het document!


KVM Server

expand disk size

METHOD #1: Partitions are ext2/ext3/ext4 based

The nuts of this method are as follows:

# 1. stop the VM # 2. move the current image mv mykvm.img mykvm.img.bak

# 3. create a new image qemu-img create -f raw addon.raw 30G

# 4. concatenate the 2 images cat mykvm.img.bak addon.raw » mykvm.img

Now with the larger mykvm.img file in hand, boot gparted and extend the existing partition into the newly added disk space. This last step basically extends the OS partition so that it can make use of the extra space.

http://serverfault.com/questions/324281/how-do-you-increase-a-kvm-guests-disk-space

li_kvm.1396448408.txt.gz · Laatst gewijzigd: 2019/07/24 18:14 (Externe bewerking)