我正在使用 VirtualBox 在 OS X 上托管一个 VM。我正在尝试使用以下命令调整虚拟硬盘驱动器的大小:
VBoxManage modifyhd [file path]/ubuntu_vm-disk1.vmdk --resize 16000
我收到以下错误:
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
这是我的showhdinfo:
Accessible: yes
Logical size: 15719 MBytes
Current size on disk: 6066 MBytes
Type: normal (base)
Storage format: VMDK
Format variant: dynamic default
我究竟做错了什么?
更新 我删除了所有快照并在路径周围重试了“”命令,现在出现以下错误:
VBoxManage: error: Failed to lock media when compacting '/Users/dwstein_old/VirtualBox VMs/Ubuntu_120723/ubuntu_vm-disk1.vmdk'
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Medium, interface IMedium, callee nsISupports
Context: "Resize(cbResize, progress.asOutParam())" at line 522 of file VBoxManageDisk.cpp
VBoxManage: error: Code VBOX_E_INVALID_OBJECT_STATE (0x80BB0007) - Current object state prohibits operation (extended info not available)