1. Shutdown the instance
2. Get current image information
# virt-filesystems --long --parts --blkdevs -h -a windows2003.img
Name Type MBR Size Parent
/dev/sda1 partition 07 4.0G /dev/sda
/dev/sda2 partition 0f 1.0K /dev/sda
/dev/sda5 partition 07 6.0G /dev/sda
/dev/sda device - 10G -
3. virt-rezise
# qemu-img create -f raw new.img 25G
# virt-resize --expand /dev/sda1 old.img new.img
posted on 2013-12-18 12:22
Derek.Guo 阅读(428)
评论(0) 编辑 收藏 所属分类:
Linux/Unix