默认:导入基础框“precise32”...进度:30%执行 Vag-6ren">
gpt4 book ai didi

vagrant - 运行 "VBOX_E_FILE_ERROR"命令时为 "vagrant up"

转载 作者:行者123 更新时间:2023-12-02 04:25:31 26 4
gpt4 key购买 nike

当我尝试运行“vagrant up”命令时,出现以下错误。

正在将计算机“默认”设置为“virtualbox”提供程序...==> 默认:导入基础框“precise32”...进度:30%执行 Vagr 使用的 CLI VBoxManage 时出现错误 Ant 用于控制 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..

。好的。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”命令时仍然出现上述错误以及任何解决方案。

谢谢

最佳答案

错误VERR_DISK_FULL似乎表明您的磁盘已满。

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

尝试释放 C:/ 驱动器上的一些空间。我不知道最低限度,但我认为您必须有超过 1 GB 的可用空间。

关于vagrant - 运行 "VBOX_E_FILE_ERROR"命令时为 "vagrant up",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27233212/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com