VERR_INVALID_STATE error when compact VHD.
Posted: 13. Nov 2013, 04:57
Hi, pros,
I want to compact my VHD files as instructions but when i typed command as following:
vboxmanage modifyhd 'Windows XP.vhd' -compact
it fails.
and i searched this forum but there's no post with VERR_INVALID_STATE when compacting VHD.
these are my error messages:
VBoxManage: error: Failed to compact hard disk
VBoxManage: error: Could not compact medium '/Users/kuomichael/Documents/Windows XP.vhd' (VERR_INVALID_STATE)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium
VBoxManage: error: Context: "int handleModifyHardDisk(HandlerArg*)" at line 530 of file VBoxManageDisk.cpp
is anyone can help me to solve this problem??
I want to compact my VHD files as instructions but when i typed command as following:
vboxmanage modifyhd 'Windows XP.vhd' -compact
it fails.
and i searched this forum but there's no post with VERR_INVALID_STATE when compacting VHD.
these are my error messages:
VBoxManage: error: Failed to compact hard disk
VBoxManage: error: Could not compact medium '/Users/kuomichael/Documents/Windows XP.vhd' (VERR_INVALID_STATE)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium
VBoxManage: error: Context: "int handleModifyHardDisk(HandlerArg*)" at line 530 of file VBoxManageDisk.cpp
is anyone can help me to solve this problem??