vagrant - 执行 `VBoxManage` 时出错(vagrant/virtualbox)

标签 vagrant virtualbox

我在命令行中遵循 Data Science 的安装教程,其中包括以下步骤:

$ mkdir MyDataScienceToolbox

$ cd MyDataScienceToolbox

$ vagrant init data-science-toolbox/data-science-at-the-command-line

$ vagrant up

这在我的其中一台计算机上运行良好,但在另一台计算机上运行不正常。为什么?

两台计算机都使用 Virtualbox 版本:4.3.12 和 Windows 7。

这是错误消息:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'data-science-toolbox/data-science-at-the-command-line'...
There was an error while executing `VBoxManage`, a CLI used by Vagrant

用于控制 VirtualBox。命令和标准错误如下所示。
Command: ["import", "C:\\Users\\bernard\\.vagrant.d\\boxes\\data-science-toolbox-VAGRANTSLASH-data-science-at-the-command-line\\0.0.5\\virtualbox\\box.ovf", "--vsys", "0", "--vmname", "packer-virtualbox-iso_1410075150030_92186", "--vsys", "0", "--unit", "7", "--disk", "C:\\cygwin64\\home\\bernard\\VirtualBox VMs\\packer-virtualbox-iso_1410075150030_92186\\packer-virtualbox-iso-disk1.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\bernard\.vagrant.d\boxes\data-science-toolbox-VAGRANTSLASH-data-science-at-the-command-line\0.0.5\virtualbox\box.ovf...

OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the clone medium 'C:\cygwin64\home\bernard\VirtualBox VMs\packer-virtualbox-iso_1410075150030_92186\packer-virtualbox-iso-disk1.vmdk'.
VBoxManage.exe: error: VMDK: cannot write allocated data block in 'C:\cygwin64\home\bernard\VirtualBox VMs\packer-virtualbox-iso_1410075150030_92186/packer-virtualbox-iso-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: 驱动器可能没有足够的可用空间。从错误消息的末尾开始:“VERR_DISK_FULL”。

super 用户的类似问题:What causes the "Failed to create the hard disk storage" error when creating a new virtual machine?

关于vagrant - 执行 `VBoxManage` 时出错(vagrant/virtualbox),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25708129/

相关文章:

docker - 无法在 Vagrant 上运行的 CentOS 7 上安装 Docker

ruby - Laravel Homestead 的 Vagrantfile : where is $confDir supposed to be set?

docker - 允许通过 docker-machine 运行的容器在不使用 OSX DHCP 分配的 IP 地址的情况下连接父 OSX 系统上的 Mysql 或 XDEBUG 端口?

android - 有什么方法可以让我从我的 Windows PC 上运行 Android 操作系统和应用程序?

windows - 如何在 Ubuntu VirtualBox 中运行 meteor 应用程序并在 Windows 主机上使用编辑器进行编辑?

linux - 即使在创建时,vagrant 也永远无法 ssh 到我的 ubuntu 盒子。

linux - 在Vagrant中使用简单的LAMP的多个虚拟主机

vmware - 如何将虚拟机从 VMWare 移植到 VirtualBox?

ios - 从 Linux/Windows 进行 iOS 编码

ruby - Vagrant ssh 使用 -c 或 --COMMAND 导致 session 关闭