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)