VirtualBox

16 年 前 建立

14 年 前 結束

#3181 closed defect (fixed)

2.1.2 VBoxManage clonevdi doesn't work after upgrade from 2.0.6

回報者: ezra Simeloff 負責人:
元件: virtual disk 版本: VirtualBox 2.1.2
關鍵字: clonevdi 副本:
Guest type: other Host type: other

描述 (由 Sander van Leeuwen 作最後更新)

I can no longer clonevdi.

It worked great on 2.0.6 with Mac OS X for my solaris guest OS's but now I've upgraded to 2.1.2 I cannot get the vdi's cloned.

What I have not tried is cloning an image I created using this version. So the VDI's were created under version 2.0.6 I don't know if this is relevant.

VBoxManage clonevdi Solaris10TOI.vdi Solaris10TOIRoleManagerStart.vdi
VirtualBox Command Line Management Interface Version 2.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

[!] FAILED calling a->virtualBox->OpenHardDisk2(src, srcDisk.asOutParam()) at line 369!
[!] Primary RC  = VBOX_E_IPRT_ERROR (0x80BB0005) - Runtime subsystem error
[!] Full error info present: true , basic error info present: true 
[!] Result Code = VBOX_E_IPRT_ERROR (0x80BB0005) - Runtime subsystem error
[!] Text        = Could not get the storage format of the hard disk '/Users/ezrasimeloff/Library/VirtualBox/HardDisks/Solaris10TOI.vdi' (VERR_FILE_NOT_FOUND)
[!] Component   = HardDisk2, Interface: IHardDisk2, {ed6e2525-c2fd-42a4-917a-7a9045ac9e15}
[!] Callee      = IVirtualBox, {339abca2-f47a-4302-87f5-7bc324e6bbde}

更動歷史 (9)

comment:1 16 年 前Francisco Ernesto Teixeira 編輯

The same happens on openSUSE 11.1 with VirtualBox 2.1.2.

comment:2 16 年 前Jay Goldberg 編輯

Can confirm that this bug exists with v2.1.2 on Linux 2.6.27.10 #3 SMP PREEMPT (Zenwalk 5.4). Perhaps this should be moved to a non-specific platform section.

comment:3 16 年 前Sander van Leeuwen 編輯

Guest type: Solarisother
Host type: Mac OS Xother
摘要: 2.1.2 VBoxManage clonevdi doesn't work on a MAC OS 10 after upgrade from 2.0.62.1.2 VBoxManage clonevdi doesn't work after upgrade from 2.0.6

comment:4 16 年 前Sander van Leeuwen 編輯

描述: 修改 (差異)

comment:5 16 年 前Sander van Leeuwen 編輯

The error says file not found, so are you sure '/Users/ezrasimeloff/Library/VirtualBox/HardDisks/Solaris10TOI.vdi' does actually exist?

comment:6 16 年 前Jay Goldberg 編輯

This turned out to be a PICNIC for me (Problem In Chair Not In Computer).

clonehd and clonevdi function in the filesystem with .VirtualBox/HardDisks as the root directory. You must specify the .vdi image to clone in relationship to this directory or specify the FULL PATH.

For example, the following two commands will work:

VBoxManage clonehd "Windows XP.vdi" "Windows Copy.vdi"
VBoxManage clonehd "/home/username/.VirtualBox/HardDisks/Windows XP.vdi" "/home/username/.VirtualBox/HardDisks/Windows Copy.vdi"

But the following will not:

VBoxManage clonehd ".VirtualBox/HardDisks/Windows XP.vdi" ".VirtualBox/HardDisks/Windows Copy.vdi"

This solved the issue for me. Also be sure to enclose your paths in quotes if they include spaces or special characters.

comment:7 16 年 前ezra Simeloff 編輯

I love the acronym!

Interesting information -- It does indeed work with full paths! which is outstanding.

However this is a regression from the 2.0.6 version.

This is totally wacky behavior why on earth would it behave this way? In my view this would remain a bug unless there is some pretty interesting explanation - longer then one line - why this behavior isn't.

1> A regression from previous versions. 2> Odd.

thanks Ezra.

comment:8 16 年 前pjw1965 編輯

I can confirm this:

$ ls /var/tmp/VirtualBox -ldlrwxrwxrwx 1 me users 22 2008-05-15 07:40 /var/tmp/VirtualBox -> /mnt/media/VirtualBox/

clonehd and clonevdi works not when used a Symbolic Link as in /var/tmp/VirtualBox/VDI/harddisk.vdi, but works with absolut direct path /mnt/media/VirtualBox/VDI/harddisk.vdi (as in ~/.VirtualBox/VirtualBox.xml used).

This should be fixed. The error-Message is confusing!!!

[!] Result Code = VBOX_E_IPRT_ERROR (0x80BB0005) - Runtime subsystem error [!] Text = Could not get the storage format of the hard disk '/var/tmp/VDI/harddisk.vdi' (VERR_FILE_NOT_FOUND)

comment:9 14 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Please reopen if still relevant with VBox 4.0.4.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette