On my Windows 8.1 host I have a Ubuntu 14 guest and I've run out of logical disk space.
Hunting on the web I've followed this guide: https://forums.virtualbox.org/viewtopic.php?f=24&t=50661
My virtual disk space is doubled but the fixed size, the logical space is full leaving me with lots of space that I cannot use. Some posts suggest that it will be resized when some applications run that need the space, but I need to get some files from dropbox and repeated attempts abort the download. Plus I cannot get any other work done.
Ubuntu reports in df that the free space is unchanged.
OK, surely I can create a new "Hard disk" in VB and clone the original "drive" into it. Apparently not, here's the result:
C:\Program Files\Oracle\VirtualBox>VBoxManage clonehd "C:\Users\sam\VirtualBox V
Ms\Ubuntu 14 desktop\Ubuntu 14 desktop.vdi" "C:\Users\sam\VirtualBox VMs\Ubuntu
14 desktop\NewVirtualDisk1.vdi" --format VDI --variant standard
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to clone hard disk
VBoxManage.exe: error: Could not create the clone medium 'C:\Users\sam\VirtualBo
x VMs\Ubuntu 14 desktop\NewVirtualDisk1.vdi'.
VBoxManage.exe: error: VDI: cannot create image 'C:\Users\sam\VirtualBox VMs\Ubu
ntu 14 desktop\NewVirtualDisk1.vdi' (VERR_ALREADY_EXISTS)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component M
edium, interface IMedium
VBoxManage.exe: error: Context: "int __cdecl handleCloneHardDisk(struct HandlerA
rg *)" at line 743 of file VBoxManageDisk.cpp
Since it appears VB can only assign one hard drive to a machine how would I clone the contents into this new space?
Or how could I reformat the first clone and then move over the original files into the new space? thx, sam
--existing
flag on the command line See Docs.