2014-12-01 225 views
3

當我嘗試運行「vagrant up」命令時,出現以下錯誤。運行「vagrant up」命令時出現「VBOX_E_FILE_ERROR」

瞻機「默認」了「的virtualbox」提供商... ==>默認:導入基座盒「precise32」 ... 進展:30%有在執行VBoxManage錯誤,使用由CLI Vagr 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」目錄和其他dirs。

任何人都可以請告訴我爲什麼我仍然得到上述錯誤,當我運行「vagrant up」命令和任何解決方案。

感謝

回答

1

錯誤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:/驅動器上釋放一些空間。我不知道最低限度,但我認爲你必須有更多的1GB免費。

0

我有同樣的錯誤,我發現的.vmdk文件盒子目錄內缺少.vagrant.d內
簡單地複製文件有解決它
這是在Debian系統laravel /宅基盒通過方式。

相關問題