resize disk error

This is for discussing general topics about how to use VirtualBox.
Post Reply
configurator
Posts: 1
Joined: 23. Oct 2012, 20:11

resize disk error

Post by configurator »

Running from a Windows 7 64bit host machine; I have a 40 GB VDI which needs to be expanded to 80 GB's, with multiple snapshots. I've searched the boards for errors but have not found anything like what I'm getting. I've rebooted the host, VirutalBox is not running, and I'm pretty sure I have my file paths right. I've tried using the

C:\Program Files\Oracle\VirtualBox>"C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" modifyhd "C:\Users\<myprofile>\VirtualBox VMs\SCCM 2012\sccm 2012.vdi" --resize 81920
VBoxManage.exe: error: Could not find file for the medium 'C:\Users\<myprofile>\VirtualBox VMs\SCCM 2012\sccm 2012.vdi' (VERR_PATH_NOT_FOUND)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee IUnknown
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp


If having snapshots is the problem is there another way to disk capacity?
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: resize disk error

Post by mpack »

The error message doesn't say anything about snapshots, it says that you got the path or filename wrong.

This error would be in addition to the other problem, that you cannot resize a disk if it has snapshots attached. But that isn't really a problem - just delete the snapshots. But do back up the VM folder before you start.
Post Reply