VirtualBox

Opened 16 years ago

Closed 16 years ago

#3113 closed defect (fixed)

VBoxManage clonehd fails to convert .vmdk to .vdi

Reported by: klobad Owned by:
Component: virtual disk Version: VirtualBox 2.1.2
Keywords: Cc:
Guest type: other Host type: other

Description

$ VBoxManage -nologo createhd -filename "test.vmdk" -size 1024 -format VMDK
Disk image created. UUID: 99baf1e5-b2b3-48d3-883d-005cd293a709

$ VBoxManage -nologo showhdinfo test.vmdk 
UUID:                 99baf1e5-b2b3-48d3-883d-005cd293a709
Accessible:           yes
Logical size:         1024 MBytes
Current size on disk: 0 MBytes
Type:                 normal
Storage format:       VMDK
Location:             /Users/dk/Library/VirtualBox/HardDisks/test.vmdk

$ VBoxManage -nologo clonehd test.vmdk test.vdi -format VDI
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: edda756b-d27f-41b3-baca-7be5e35ac7b7

$ VBoxManage -nologo showhdinfo test.vdi 
[!] FAILED calling a->virtualBox->OpenHardDisk2(filepath, hardDisk.asOutParam()) at line 766!
[!] Primary RC  = VBOX_E_IPRT_ERROR (0x80BB0005) - Runtime subsystem error
[!] Full error info present: true , basic error info present: true 
[!] Result Code = VBOX_E_IPRT_ERROR (0x80BB0005) - Runtime subsystem error
[!] Text        = Could not get the storage format of the hard disk '/Users/dk/Library/VirtualBox/HardDisks/test.vdi' (VERR_NOT_SUPPORTED)
[!] Component   = HardDisk2, Interface: IHardDisk2, {ed6e2525-c2fd-42a4-917a-7a9045ac9e15}
[!] Callee      = IVirtualBox, {339abca2-f47a-4302-87f5-7bc324e6bbde}

Cloning from vmdk to vmdk seems ok:

$ VBoxManage -nologo clonehd test.vmdk test2.vmdk -format VMDK
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VMDK'. UUID: 2a348479-408a-4b84-be8e-e98a99b50b79

$ VBoxManage -nologo showhdinfo test2.vmdk 
UUID:                 2a348479-408a-4b84-be8e-e98a99b50b79
Accessible:           yes
Logical size:         1024 MBytes
Current size on disk: 0 MBytes
Type:                 normal
Storage format:       VMDK
Location:             /Users/dk/Library/VirtualBox/HardDisks/test2.vmdk

Change History (1)

comment:1 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

Please reopen if this problem persists with the latest release 2.2.2.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette