当我尝试运行“vagrant up”命令时,出现以下错误:
使用“virtualbox”提供程序启动虚拟机“default”... ==> default: 导入基础箱“precise32”... 进度:30%执行
命令:
使用“virtualbox”提供程序启动虚拟机“default”... ==> default: 导入基础箱“precise32”... 进度:30%执行
VBoxManage
时出错,这是由Vagrant使用的CLI,用于控制VirtualBox。以下是命令和stderr输出。命令:
["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"]
标准错误输出:
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%... Progress state:
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
我没有使用X驱动器,并且已经在环境变量中设置了“VAGRANT_HOME”变量为主目录,即VAGRANT_HOME及其值为C:\Users\username.vagrant.d
我已经有了“.vagrant”目录和其中的其他目录。
当我运行“vagrant up”命令时,仍然会出现上述错误,请问有什么解决方法。
谢谢。