Opened 13 years ago
Last modified 8 years ago
#9673 closed defect
Clonehd variant not working — at Initial Version
Reported by: | Perry G | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.1.2 |
Keywords: | Clone, vmdk, ESX | Cc: | |
Guest type: | other | Host type: | Linux |
Description
Trying to clone and using the following fails due to the variant.
debian@debian:~$ VBoxManage clonehd /drive/tara1/VirtualBox-VMs/Ubuntu-10.04/Ubuntu-10.04.vdi /drive/tara1/VirtualBox-VMs/Ubuntu-10.04/Ubuntu-10.04-test.vmdk --format vmdk --variant ESX
Progress state: VBOX_E_FILE_ERROR VBoxManage: error: Failed to clone hard disk VBoxManage: error: Could not create the clone medium '/drive/tara1/VirtualBox-VMs/Ubuntu-10.04/Ubuntu-10.04-test.vmdk' (VERR_VD_INVALID_TYPE) VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium VBoxManage: error: Context: "int handleCloneHardDisk(HandlerArg*)" at line 719 of file VBoxManageDisk.cpp
Following the CLI help below it looks like it should work. VBoxManage clonehd <uuid>|<filename> <uuid>|<outputfile>
[--format VDI|VMDK|VHD|RAW|<other>] [--variant Standard,Fixed,Split2G,Stream,ESX] [--existing]
Following the user with this issue here: https://forums.virtualbox.org/viewtopic.php?f=6&t=45000
If I leave the variant off the clone succeeds, but the OP wants the ESX variant.