When VBoxManage.exe import failed with no disk space, the failure message is below:
It occurs when disk space is not enough.E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available)
So, when no space, I think that output message should be include about disk space.
I ran the command on Windows 10 with Virtual Box 6.0.14.
F: drive has no space enough.
The details of outputs are followings:
Code: Select all
PS E:\vagrant> & 'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' import E:\vagrant_home\.vagrant.d\boxes\hashicorp-VAGRANTSLASH-precise64\1.1.0\virtualbox\box.ovf --vsys 0 --vmname pvsys --unit 12 --disk F:\VMimages\precise64_1571227725486_15524\box-disk1.vmdk 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting E:\vagrant_home\.vagrant.d\boxes\hashicorp-VAGRANTSLASH-precise64\1.1.0\virtualbox\box.ovf... OK. Disks: vmdisk1 85899345920 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized box-disk1.vmdk -1 -1 Virtual system 0: 0: Suggested OS type: "Ubuntu_64" (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values) 1: VM name specified with --vmname: "pvsys" 2: Suggested VM group "/" (change with "--vsys 0 --group <group>") 3: Suggested VM settings file name "D:\VMimages\precise64\precise64.vbox" (change with "--vsys 0 --settingsfile <filename>") 4: Suggested VM base folder "D:\VMimages" (change with "--vsys 0 --basefolder <path>") 5: Number of CPUs: 2 (change with "--vsys 0 --cpus <n>") 6: Guest memory: 384 MB (change with "--vsys 0 --memory <MB>") 7: Network adapter: orig NAT, config 3, extra slot=0;type=NAT 8: CD-ROM (disable with "--vsys 0 --unit 8 --ignore") 9: IDE controller, type PIIX4 (disable with "--vsys 0 --unit 9 --ignore") 10: IDE controller, type PIIX4 (disable with "--vsys 0 --unit 10 --ignore") 11: SATA controller, type AHCI (disable with "--vsys 0 --unit 11 --ignore") 12: Hard disk image: source image=box-disk1.vmdk, target path=F:\VMimages\precise64_1571227725486_15524\box-disk1.vmdk, controller=11;channel=0 0%... Progress state: E_INVALIDARG VBoxManage.exe: error: Appliance import failed VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available) VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 957 of file VBoxManageAppliance.cpp PS E:\vagrant>