对于vdi格式的存储,可以直接扩容(参考下方直接使用modifyhd命令),对于vmdk格式的存储,需要先复制转换为vdi格式,扩容后可以直接使用vdi格式的硬盘,便于以后扩容:
# 使用clonehd...format 'vdi'....Sectors Size Id Type
/dev/sda1 123,0,1 1023,254,63 1975995 40949684 38973690 18.5G 83 Linux.../dev/sda2 0,1,1 122,254,63 63 1975994 1975932 964M 82 Linux swap
Partition.../dev/sda2 0,1,1 122,254,63 63 1975994 1975932 964M 82 Linux swap
Partition