我正在尝试导入一个Oracle rac的2个节点的两个virtualbox备份。每个ova文件有8个磁盘。两个ova中的第一个磁盘具有操作系统(每个磁盘具有不同的安装),而其他7个磁盘则为两个节点共享。这7个磁盘必须由两个节点同时访问。
当我导入时,第一个节点工作正常,但第二个节点导入失败。这是两个进口的输出
节点1:
vboxmanage import rac121_linux_oel74_RAC121_Completo.ova \
--vsys 0 --description "Nodo1 Rac " \
--vsys 0 -unit 16 --disk "/VirtualBox VMs/rac121/rac121-SO.vmdk" \
--vsys 0 -unit 17 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_crs1.vmdk" \
--vsys 0 -unit 18 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_crs2.vmdk" \
--vsys 0 -unit 19 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_crs3.vmdk" \
--vsys 0 -unit 20 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_dat1.vmdk" \
--vsys 0 -unit 21 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_dat2.vmdk" \
--vsys 0 -unit 22 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_rec1.vmdk" \
--vsys 0 -unit 23 --disk "/VirtualBox VMs/rac12_disco_compartido/rac12-sharedisk_rec2.vmdk"
...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully imported the appliance.
节点2
vboxmanage import rac122_linux_oel74_RAC121_Completo.ova \
--vsys 0 --description "Nodo2 Rac " \
--vsys 0 -unit 16 --disk "/VirtualBox VMs/rac122/rac122-SO.vmdk" \
--vsys 0 -unit 17 --ignore \
--vsys 0 -unit 18 --ignore \
--vsys 0 -unit 19 --ignore \
--vsys 0 -unit 20 --ignore \
--vsys 0 -unit 21 --ignore \
--vsys 0 -unit 22 --ignore \
--vsys 0 -unit 23 --ignore
...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_OBJECT_NOT_FOUND
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not find an open hard disk with UUID {6d7d82bc-4350-4c7e-bc1a-b700b4245f48}
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 957 of file VBoxManageAppliance.cpp
这是“空运行”执行的输出
VBoxManage import rac121_linux_oel74_RAC121_Completo.ova --dry-run
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting rac121_linux_oel74_RAC121_Completo.ova...
OK.
Disks:
vmdisk2 53687091200 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk002.vmdk -1 -1
vmdisk3 2147483648 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk003.vmdk -1 -1
vmdisk4 2147483648 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk004.vmdk -1 -1
vmdisk5 2147483648 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk005.vmdk -1 -1
vmdisk6 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk006.vmdk -1 -1
vmdisk7 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk007.vmdk -1 -1
vmdisk8 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk008.vmdk -1 -1
vmdisk9 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac121_linux_oel74_RAC121_Completo-disk009.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Linux_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "rac121 1"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/VirtualBox VMs/rac121 1/rac121 1.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Description "Nodo1 Rac version 12.1"
(change with "--vsys 0 --description <desc>")
6: Number of CPUs: 2
(change with "--vsys 0 --cpus <n>")
7: Guest memory: 3072 MB
(change with "--vsys 0 --memory <MB>")
8: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 8 --ignore")
9: USB controller
(disable with "--vsys 0 --unit 9 --ignore")
10: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
11: Network adapter: orig Bridged, config 3, extra slot=1;type=Bridged
12: CD-ROM
(disable with "--vsys 0 --unit 12 --ignore")
13: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 13 --ignore")
14: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 14 --ignore")
15: SATA controller, type AHCI
(disable with "--vsys 0 --unit 15 --ignore")
16: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk002.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk002.vmdk, controller=15;channel=0
(change target path with "--vsys 0 --unit 16 --disk path";
disable with "--vsys 0 --unit 16 --ignore")
17: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk003.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk003.vmdk, controller=15;channel=1
(change target path with "--vsys 0 --unit 17 --disk path";
disable with "--vsys 0 --unit 17 --ignore")
18: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk004.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk004.vmdk, controller=15;channel=2
(change target path with "--vsys 0 --unit 18 --disk path";
disable with "--vsys 0 --unit 18 --ignore")
19: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk005.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk005.vmdk, controller=15;channel=3
(change target path with "--vsys 0 --unit 19 --disk path";
disable with "--vsys 0 --unit 19 --ignore")
20: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk006.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk006.vmdk, controller=15;channel=6
(change target path with "--vsys 0 --unit 20 --disk path";
disable with "--vsys 0 --unit 20 --ignore")
21: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk007.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk007.vmdk, controller=15;channel=7
(change target path with "--vsys 0 --unit 21 --disk path";
disable with "--vsys 0 --unit 21 --ignore")
22: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk008.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk008.vmdk, controller=15;channel=5
(change target path with "--vsys 0 --unit 22 --disk path";
disable with "--vsys 0 --unit 22 --ignore")
23: Hard disk image: source image=rac121_linux_oel74_RAC121_Completo-disk009.vmdk, target path=rac121_linux_oel74_RAC121_Completo-disk009.vmdk, controller=15;channel=4
(change target path with "--vsys 0 --unit 23 --disk path";
disable with "--vsys 0 --unit 23 --ignore")
VBoxManage import rac122_linux_oel74_RAC121_Completo.ova --dry-run
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting rac122_linux_oel74_RAC121_Completo.ova...
OK.
Disks:
vmdisk2 53687091200 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk002.vmdk -1 -1
vmdisk3 2147483648 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk003.vmdk -1 -1
vmdisk4 2147483648 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk004.vmdk -1 -1
vmdisk5 2147483648 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk005.vmdk -1 -1
vmdisk6 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk006.vmdk -1 -1
vmdisk7 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk007.vmdk -1 -1
vmdisk8 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk008.vmdk -1 -1
vmdisk9 5368709120 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rac122_linux_oel74_RAC121_Completo-disk009.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Linux_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "rac122"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/VirtualBox VMs/rac122/rac122.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Description "Nodo2 Rac version 12.1"
(change with "--vsys 0 --description <desc>")
6: Number of CPUs: 2
(change with "--vsys 0 --cpus <n>")
7: Guest memory: 3072 MB
(change with "--vsys 0 --memory <MB>")
8: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 8 --ignore")
9: USB controller
(disable with "--vsys 0 --unit 9 --ignore")
10: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
11: Network adapter: orig Bridged, config 3, extra slot=1;type=Bridged
12: CD-ROM
(disable with "--vsys 0 --unit 12 --ignore")
13: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 13 --ignore")
14: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 14 --ignore")
15: SATA controller, type AHCI
(disable with "--vsys 0 --unit 15 --ignore")
16: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk002.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk002.vmdk, controller=15;channel=0
(change target path with "--vsys 0 --unit 16 --disk path";
disable with "--vsys 0 --unit 16 --ignore")
17: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk003.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk003.vmdk, controller=15;channel=1
(change target path with "--vsys 0 --unit 17 --disk path";
disable with "--vsys 0 --unit 17 --ignore")
18: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk004.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk004.vmdk, controller=15;channel=2
(change target path with "--vsys 0 --unit 18 --disk path";
disable with "--vsys 0 --unit 18 --ignore")
19: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk005.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk005.vmdk, controller=15;channel=3
(change target path with "--vsys 0 --unit 19 --disk path";
disable with "--vsys 0 --unit 19 --ignore")
20: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk006.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk006.vmdk, controller=15;channel=6
(change target path with "--vsys 0 --unit 20 --disk path";
disable with "--vsys 0 --unit 20 --ignore")
21: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk007.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk007.vmdk, controller=15;channel=7
(change target path with "--vsys 0 --unit 21 --disk path";
disable with "--vsys 0 --unit 21 --ignore")
22: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk008.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk008.vmdk, controller=15;channel=5
(change target path with "--vsys 0 --unit 22 --disk path";
disable with "--vsys 0 --unit 22 --ignore")
23: Hard disk image: source image=rac122_linux_oel74_RAC121_Completo-disk009.vmdk, target path=rac122_linux_oel74_RAC121_Completo-disk009.vmdk, controller=15;channel=4
(change target path with "--vsys 0 --unit 23 --disk path";
disable with "--vsys 0 --unit 23 --ignore")
致谢