KVM镜像如何扩容

2023-04-07 08:43:00 镜像 扩容 KVM

KVM镜像如何扩容

KVM images can be resized by using the qemu-img command. For example, to resize a KVM image named "disk.img" to 10GB, use the following command:

qemu-img resize disk.img 10G

Once the resize operation is complete, you will need to use a tool such as virt-resize to resize the filesystem inside the image so that it can use the new, larger size.

相关文章