#qemu-img info data.disk
image: data.disk
file format: qcow2
virtual size: 100G (107374182400 bytes)
disk size: 1.7G
cluster_size: 65536
# qemu-img resize data.disk +500G
Image resized.
# qemu-img info data.disk
image: data.disk
file format: qcow2
virtual size: 600G (644245094400 bytes)
disk size: 1.7G
cluster_size: 65536
开机,关机,再开机
yum install cloud-utils-growpart
growpart /dev/vdb 1
resize2fs /dev/vdb1
阅读(1319) | 评论(0) | 转发(0) |