gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 17:48:24 24 4
gpt4 key购买 nike

我在命令行中遵循 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/

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