"VBOX_E_FILE_ERROR" when running the command "vagrant up"

I am getting below error when I try to run the vagrant up command.

Cast the default machine to the "virtualbox" provider ... ==> default: Imports the "exact32" base block ... Progress: 30% An VBoxManage

error occurred during execution , the CLI used by Vagr ant to manage VirtualBox. The command and stderr are shown below.

Command:

["import", "C:/Users/username/.vagrant.d/boxes/precise32/0/virtualbox/b
ox.ovf", "--vsys", "0", "--vmname", "precise32_1417450998781_63238", "--vsys", "
0", "--unit", "9", "--disk", "X:\\VirtualBox VMs\\precise32_1417450998781_63238\
\box-disk1.vmdk"]

      

Stderr:

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\username\.vagrant.d\boxes\precise32\0\virtualbox\box.ovf..

      

... OK. 0% ... 10% ... 20% ... 30% ... Execution status:

VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'X:\VirtualBox VMs\p
recise32_1417450998781_63238\box-disk1.vmdk'.
VBoxManage.exe: error: VMDK: cannot write allocated data block in 'X:\VirtualBox
VMs\precise32_1417450998781_63238/box-disk1.vmdk' (VERR_DISK_FULL)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component A
ppliance, interface IAppliance
VBoxManage.exe: error: Context: "int __cdecl handleImportAppliance(struct Handle
rArg *)" at line 779 of file VBoxManageAppliance.cpp

      

I am not using drive "X" and I have already set the variable "VAGRANT_HOME" to the home directory in environment variables ie VAGRANT_HOME and its value C: \ Users \ username.vagrant.d

I already have a ".vagrant" directory and other dir inside it.

Can someone please tell me why I am still getting the above error when I run the "vagrant up" command and any solution for it.

thank

+3


source to share


2 answers


The error VERR_DISK_FULL

seems to indicate that your disk is full.

VBoxManage.exe: error: VMDK: cannot write allocated data block in 'X:\VirtualBox
VMs\precise32_1417450998781_63238/box-disk1.vmdk' (VERR_DISK_FULL)

      



Try to free up disk space C:/

. I don't know the minimum, but I think you should have more than 1 GB for free.

+1


source


I had the same error and found that the .vmdk file was missing inside the box directory in .vagrant.d
Simply copying the file there resolved By the way, this is a laravel / Homestead box on a debian machine.



0


source







All Articles