Debian Vbox和vagrant的磁盘文件创建错误 客观的

Debian Vbox和vagrant的磁盘文件创建错误 客观的,debian,vagrant,virtualbox,disk,diskimage,Debian,Vagrant,Virtualbox,Disk,Diskimage,使用Vagrant和Virtualbox创建一个VM,其中包含2个磁盘,以便以后设置raid1 我的流浪汉档案 显示目录树 我已经为这个场景创建了一个目录,我向您展示了树-a的输出,这样您就可以看到一切正常 我在Waggrant up之后出错 我将向您展示完整的输出,这样您就可以看到整个过程+错误 Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'debi

使用Vagrant和Virtualbox创建一个VM,其中包含2个磁盘,以便以后设置raid1

我的流浪汉档案 显示目录树 我已经为这个场景创建了一个目录,我向您展示了
树-a
的输出,这样您就可以看到一切正常

我在Waggrant up之后出错 我将向您展示完整的输出,这样您就可以看到整个过程+错误

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'debian/buster64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: scenario_raid1_default_1569617045977_67208
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
A customization command failed:

["createhd", "--filename", "disco1.vdi", "--variant", "Fixed", "--size", 10240]

The following error was experienced:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["createhd", "--filename", "disco1.vdi", "--variant", "Fixed", "--size", "10240"]

Stderr: 0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/home/atlas/Documents/vagrant/scenario_raid1/disco1.vdi'.
VBoxManage: error: VDI: cannot create image '/home/atlas/Documents/vagrant/scenario_raid1/disco1.vdi' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 462 of file VBoxManageDisk.cpp
>

Please fix this customization and try again.
正如您所注意到的,两个磁盘中的一个已经创建(但我很确定这不起作用,因为Sata控制器和到Sata控制器的链接尚未执行)。
我很确定这是一条关于这里发生了什么的线索,但我不知道如何解决这个问题

.
|-- Vagrantfile
`-- Vagrantfile.b

0 directories, 2 files
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'debian/buster64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: scenario_raid1_default_1569617045977_67208
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
A customization command failed:

["createhd", "--filename", "disco1.vdi", "--variant", "Fixed", "--size", 10240]

The following error was experienced:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["createhd", "--filename", "disco1.vdi", "--variant", "Fixed", "--size", "10240"]

Stderr: 0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/home/atlas/Documents/vagrant/scenario_raid1/disco1.vdi'.
VBoxManage: error: VDI: cannot create image '/home/atlas/Documents/vagrant/scenario_raid1/disco1.vdi' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 462 of file VBoxManageDisk.cpp
>

Please fix this customization and try again.
.
|-- .vagrant
|   |-- machines
|   |   `-- default
|   |       `-- virtualbox
|   |           |-- action_set_name
|   |           |-- creator_uid
|   |           |-- id
|   |           |-- index_uuid
|   |           `-- vagrant_cwd
|   `-- rgloader
|       `-- loader.rb
|-- Vagrantfile
|-- Vagrantfile.b
`-- disco1.vdi

5 directories, 9 files