Page 1 of 1

report error when add a new storage controller interface

Posted: 12. Jul 2013, 04:36
by boypoo
I am installing a Oracle RAC on OSX using Virtualbox.
-------firstly,it reported no this controller
boypooMac:oracle boypoo$ VBoxManage storageattach ol5-l12-rac1 --storagectl "SATA" --port 1 --device 0 --type hdd --medium asm1.vdi --mtype shareable
VBoxManage: error: Could not find a controller named 'SATA'

------then I created it, but it is going to wrong:
boypooMac:oracle boypoo$ VBoxManage storagectl ol5-l12-rac1 --name "SATA Controller" --add sata
VBoxManage: error: Too many storage controllers of this type
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component StorageController, interface IStorageController, callee nsISupports
VBoxManage: error: Context: "AddStorageController(Bstr(pszCtl).raw(), StorageBus_SATA, ctl.asOutParam())" at line 1026 of file VBoxManageStorageController.cpp
boypooMac:oracle boypoo$


what's wrong?

thanks.
boypoo

Re: report error when add a new storage controller interface

Posted: 12. Jul 2013, 13:03
by noteirak
The frist command, you use the wrong name, so the command fail.
The second command, you try to add another sata controller, which is not possible (only one controller per type per machine), so it fails aswell.

Try your first command but with "SATA Controller" as name.

Re: report error when add a new storage controller interface

Posted: 12. Jul 2013, 15:16
by mpack
noteirak wrote:The second command, you try to add another sata controller, which is not possible (only one controller per type per machine), so it fails as well.
I believe this varies with the chipset selected in the VM, e.g. I think ICH9 allows more, but this chipset support is experimental and shouldn't be used for anything older than Vista era and even then only if you desperately need it.

Re: report error when add a new storage controller interface

Posted: 12. Jul 2013, 15:18
by noteirak
You had to do it - I wanted to keep this simple but I knew you would mention it :twisted:

Re: report error when add a new storage controller interface

Posted: 12. Jul 2013, 15:19
by mpack
Being a pedant is part of the job.... :twisted:

Re: report error when add a new storage controller interface

Posted: 13. Jul 2013, 04:29
by boypoo
noteirak wrote:The frist command, you use the wrong name, so the command fail.
The second command, you try to add another sata controller, which is not possible (only one controller per type per machine), so it fails aswell.

Try your first command but with "SATA Controller" as name.

boypooMac:ol5-112-rac boypoo$ VBoxManage storageattach ol5-l12-rac1 --storagectl "SATA Controller" --port 1 --device 0 --type hdd --medium asm1.vdi --mtype shareable
VBoxManage: error: Could not find a controller named 'SATA Controller'
boypooMac:ol5-112-rac boypoo$
boypooMac:ol5-112-rac boypoo$



thanks all, you see, not just name problem.

Re: report error when add a new storage controller interface

Posted: 13. Jul 2013, 09:11
by noteirak
What is the output of :

Code: Select all

vboxmanage showvminfo ol5-l12-rac1| grep -i storage