版权声明:所有文章禁止转载但是均可在生产中使用提高效率 https://blog.csdn.net/viviliving/article/details/89457178
试了好几个版本
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SCSI Controller" --port 1 --device 0 --type hdd --medium "E:\rac\disk\votingdisk.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SCSI Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SCSI Controller" --port 2 --device 0 --type hdd --medium "E:\rac\disk\ocr.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SCSI Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SCSI Controller" --port 3 --device 0 --type hdd --medium "E:\rac\disk\asm1.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SCSI Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SCSI Controller" --port 4 --device 0 --type hdd --medium "E:\rac\disk\asm2.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SCSI Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "LsiLogic" --port 1 --device 0 --type hdd --medium "E:\rac\disk\votingdisk.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'LsiLogic'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "LsiLogic" --port 2 --device 0 --type hdd --medium "E:\rac\disk\ocr.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'LsiLogic'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "LsiLogic" --port 3 --device 0 --type hdd --medium "E:\rac\disk\asm1.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'LsiLogic'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "LsiLogic" --port 4 --device 0 --type hdd --medium "E:\rac\disk\asm2.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'LsiLogic'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SATA Controller" --port 1 --device 0 --type hdd --medium "E:\rac\disk\votingdisk.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SATA Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SATA Controller" --port 2 --device 0 --type hdd --medium "E:\rac\disk\ocr.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SATA Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SATA Controller" --port 3 --device 0 --type hdd --medium "E:\rac\disk\asm1.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SATA Controller'
C:\Windows\system32>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach rac1 --storagectl "SATA Controller" --port 4 --device 0 --type hdd --medium "E:\rac\disk\asm2.vdi" --mtype shareable
VBoxManage.exe: error: Could not find a controller named 'SATA Controller'
都无果,最后决定使用菜单挂磁盘
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename "E:\rac\disk\votingdisk.vdi" -size 100 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename "E:\rac\disk\ocr.vdi" -size 110 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename "E:\rac\disk\asm1.vdi" -size 5120 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename "E:\rac\disk\asm2.vdi" -size 6142 -format VDI -variant Fixed
rac1节点挂接四个盘