VitualBox 扩容

虚拟机上有个win7,空间不够了。想扩容,执行命令VBoxManage modifyhd   win7.vdi --resize 20480

1 报错 

Progress state: VBOX_E_NOT_SUPPORTED

VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!

2.查了下错误,说是只有动态存储的vdi/vhd才支持,可是我的确实是动态分配存储的vdi。

VitualBox 扩容


最后仔细查资料,赫然发现一句:

--resize only works for VDI/VHD and only for dynamic drives at the moment.
If you do not fit this requirement you will receive the error mentioned. Also the --resize parameter in in megabytes and if you specify a size lower to or equal to than the original the same error shows.

引自:

https://forums.virtualbox.org/viewtopic.php?f=7&t=40732


原来resize后这是个总数啊。改大点,搞定。




你可能感兴趣的:(VitualBox 扩容)