﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
15748	OSX 10.11.6 : vboxmanage createhd fails when using options --variant Fixed,Split2G => fixed in SVN/5.1.x	Karl		"When using vboxmanage the createhd fails when used with Fixed and Split2G.  This works without these variants specified.  This appears to have come into effect sometime between OSX 10.10.5 and OSX 10.11.6.

Basic things like disk space and volume type for the OSX installation were checked without any obvious issues like file size etc.

To replicate use the command

VBoxManage createhd --format VMDK --filename junk.vmdk --size 8192 --variant Fixed,Split2G

Full trace is :

{{{
$ VBoxManage createhd --format VMDK --filename build/junk.vmdk --size 8192 --variant Fixed,Split2G
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/Users/x/DevBoot/Ubuntu-14.04/BaseBox/build/junk.vmdk'.
VBoxManage: error: VMDK: could not set size of new file '/Users/x/DevBoot/Ubuntu-14.04/BaseBox/build/junk-f005.vmdk' (VERR_INVALID_STATE)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: ""RTEXITCODE handleCreateMedium(HandlerArg *)"" at line 449 of file VBoxManageDisk.cpp
}}}
"	defect	closed	virtual disk	VirtualBox 5.1.2	fixed	vboxmanage createhd vmdk		Linux	Mac OS X
