![]() ![]() Install cloud utils packageįor those new to growpart, it is a Linux command line tool used to extend a partition in a partition table to fill available space. The next action is to expand the partition ( Partition 1) in our example, to the maximum size the disk provides. ![]() We can see the disk has grown by 20GB, from 10GB to 30GB. The first thing to do is to confirm the new disk size. ![]() Start your VM and ssh as a user with sudo privileges. If you’re on a different Virtualization platform, refer to its documentation for how to extend OS virtual disk. $ sudo qemu-img resize /var/lib/libvirt/images/centos7.qcow2 +20G I/O size (minimum/optimal): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes Vda /var/lib/libvirt/images/centos7.qcow2 How to extend/increase KVM Virtual Machine (VM) disk sizeįor KVM I can check virtual disk path using the command below: $ sudo virsh domblklist centos7.I use KVM virtualization technology, so this guide works for me: I will extend my root block device to 30GB. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |