VBoxManage.exe error VBoxManageDisk.cpp

Discussions related to using VirtualBox on Windows hosts.
Post Reply
poldim
Posts: 13
Joined: 14. Mar 2010, 22:38
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win 7

VBoxManage.exe error VBoxManageDisk.cpp

Post by poldim »

So I was following Terry's instructions on How can I reduce the size of a dynamic VDI on disk. When I ran sdelete, it increased my dynamic VDI from 52 GB to 83 GB. Since my ultimate goal is to reduce the vdi to its 41GB file size, this seemed counter productive. But I continued on. When I ran the compact command, I received the following error:

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvdi D:\Backups\SENA_Win7\SEN
A_Win7.vdi compact
0%...CANCELED
VBoxManage.exe: error: Failed to compact hard disk
VBoxManage.exe: error: Could not compact medium 'D:\Backups\SENA_Win7\SENA_Win7.
vdi' (VERR_CANCELLED)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component M
edium, interface IMedium
VBoxManage.exe: error: Context: "int __cdecl handleModifyHardDisk(struct Handler
Arg *)" at line 530 of file VBoxManageDisk.cpp

C:\Program Files\Oracle\VirtualBox>

Any advice?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VBoxManage.exe error VBoxManageDisk.cpp

Post by mpack »

Try using the Compact feature of CloneVDI instead. Terry's was good advice - in 2008.
Post Reply