report error when add a new storage controller interface

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
boypoo
Posts: 2
Joined: 12. Jul 2013, 04:30

report error when add a new storage controller interface

Post 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
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: report error when add a new storage controller interface

Post 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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: report error when add a new storage controller interface

Post 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.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: report error when add a new storage controller interface

Post by noteirak »

You had to do it - I wanted to keep this simple but I knew you would mention it :twisted:
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: report error when add a new storage controller interface

Post by mpack »

Being a pedant is part of the job.... :twisted:
boypoo
Posts: 2
Joined: 12. Jul 2013, 04:30

Re: report error when add a new storage controller interface

Post 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.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: report error when add a new storage controller interface

Post by noteirak »

What is the output of :

Code: Select all

vboxmanage showvminfo ol5-l12-rac1| grep -i storage
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply