【发布时间】:2015-01-29 17:49:49
【问题描述】:
当我尝试运行“vagrant up”命令时出现以下错误。
使用“virtualbox”提供程序将机器“默认”设置为...
==> 默认值:正在导入基础框 'precise32'...
Progress: 30%There was an error while execution VBoxManage, Vagr 使用的 CLI
蚂蚁
用于控制 VirtualBox。命令和标准错误如下所示。
命令:
["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..
。 好的。 0%...10%...20%...30%... 进度状态:
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”命令时仍然收到上述错误以及任何解决方案。
谢谢
【问题讨论】:
标签: vagrant virtualbox vagrantfile