Opened 10 years ago
Closed 10 years ago
#13969 closed defect (invalid)
New VMDK error VERR_NOT_SUPPORTED
Reported by: | Virtual Bob | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox 4.3.26 |
Keywords: | VMDK Split2G VERR_NOT_SUPPORTED | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
CentOS Linux release 7.0.1406 (Core)
kernel-3.10.0-123.20.1.el7.x86_64
VirtualBox-4.3-4.3.26_98988_el7-1.x86_64
Created a new VMDK disk because I needed the split2g variant:
VBoxManage createhd --filename /opt/vbox/myvm/mydisk.vmdk --size 40960 --format vmdk --variant split2g
Attached it to an existing vm. Get this error on boot of guest:
VBoxManage: error: Could not get the storage format of the medium '/opt/vbox/myvm/mydisk-s001.vmdk' (VERR_NOT_SUPPORTED) VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component Medium, interface IMedium, callee nsISupports VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
myvm.vbox contains:
<StorageController name="SATA" type="AHCI" PortCount="4" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3"> <HardDisk uuid="{...}" location="mydisk.vmdk" format="VMDK" type="Normal"/>
Any thought on a how to work towards a resolution?
Attachments (2)
Change History (4)
by , 10 years ago
by , 10 years ago
Attachment: | mydisk.vmdk added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You tried to attach the wrong image. /opt/vbox/myvm/mydisk-s001.vmdk
is only one chunk, you need to point VBoxManage to the descriptor file which would be /opt/vbox/myvm/mydisk.vmdk
Tested this on Linux (not CentOS 7) and it works like expected. When you created the hard disk like you described then the hard disk contains of 22 parts: mydisk.vmdk as well as mydisk-s001.vmdk ... mydisk-s021.vmdk for all the 2G parts. Are you sure that all these parts were available at the same directory when you attached the disk to the VM? Also, please post the exact VBoxManage command you used to attach the disk to the VM.