执行Vagrant控制VirtualBox时发生了“VBoxManage”错误,这是一个CLI。

3

在运行vagrant up时,我遇到了以下错误:

Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Importing base box 'lavash-devstack'...
    Progress: 10%There was an error while executing `VBoxManage`, a CLI used by Vagrant
    for controlling VirtualBox. The command and stderr is shown below.

    Command: ["import", "C:/HashiCorp/Vagrant/home/boxes/lavash-devstack/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "devstack_default_1416365851757
    _3107_1428337748513_82036", "--vsys", "0", "--unit", "10", "--disk", "C:\\Users\\adrian espinoza\\VirtualBox VMs\\devstack_default_1416365851757_3107_
    1428337748513_82036\\box-disk1.vmdk"]

    Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
    Interpreting C:\HashiCorp\Vagrant\home\boxes\lavash-devstack\0\virtualbox\box.ovf...
    OK.
    0%...10%...
    Progress state: VBOX_E_FILE_ERROR
    VBoxManage.exe: error: Appliance import failed
    VBoxManage.exe: error: Could not create the imported medium 'C:\Users\adrian espinoza\VirtualBox VMs\devstack_default_1416365851757_3107_1428337748513
    _82036\box-disk1.vmdk'.
    VBoxManage.exe: error: VMDK: cannot write allocated data block in 'C:\Users\adrian espinoza\VirtualBox VMs\devstack_default_1416365851757_3107_1428337
    748513_82036/box-disk1.vmdk' (VERR_DISK_FULL)
    VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance
    VBoxManage.exe: error: Context: "int __cdecl handleImportAppliance(struct HandlerArg *)" at line 779 of file VBoxManageAppliance.cpp

有人知道是什么问题吗?我查看了相关的问题,并尝试了一些可能的解决方案,但我仍然收到错误提示。

这里

看起来你在尝试写入 C:\Users 时遇到了“磁盘已满”的错误。这可能是因为空间实际上已经用完,或者该位置不可写。 - BrianC
2个回答

4

你的问题和我类似。可能是因为你没有获得足够的权限。我在Windows 8.1上在git中运行vagrant。我通过以管理员模式重新启动git来解决这个问题。希望它有帮助。


0
对于那些在直接粘贴错误时遇到此问题的人来说,它似乎是VirtualBox的问题,而不是vagrant的问题。
我正在运行macOS Sierra,在升级后开始遇到这个问题。我重新下载了VirtualBox,并重新安装了它,然后开始了升级过程。
完成后,我的vagrant环境被设置好了。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接