VBOX 4.0.0 iSCSI fails to connect

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
marc35
Posts: 18
Joined: 31. Jul 2010, 09:26
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Windows 2008 Server

VBOX 4.0.0 iSCSI fails to connect

Post by marc35 »

I just installed Virtualbox 4.0.0 on Solaris 10 9/10 (U9) and tried to create a new virtual machine within a Solaris container which gets its storage from an iSCSI target on another Solaris 10 10/09 (U8) host in the local network. However, the connection to the iSCSI target fails (the VBoxManage list hdds command hangs). Note that the Solaris iscsiadm can connect to the same target without a problem.

I did the following steps on the iSCSI target server:
zfs create -o compression=on -V 100G zones/target001
zfs set shareiscsi=on zones/target001
iscsitadm list target
iSCSI Name: iqn.1986-03.com.sun:02:a7e47a0b-0248-cb2a-c023-9032cfbe44cf
Connections: 0

And in the virtual machine:
VBoxManage createvm --name "openbsd" --register --basefolder /test
VBoxManage modifyvm "openbsd" --ostype "OpenBSD"
VBoxManage modifyvm "openbsd" --memory 256
VBoxManage modifyvm "openbsd" --cpus 1
VBoxManage modifyvm "openbsd" --vram 32 --acpi on --ioapic on
VBoxManage modifyvm "openbsd" --nic1 nat --nictype1 82540EM
VBoxManage storagectl "openbsd" --name "IDE Controller openbsd" --add ide --controller PIIX4
VBoxManage storageattach "openbsd" --storagectl "IDE Controller openbsd" --port 0 --device 1 --type hdd --medium iscsi --server "192.168.84.1" --target "iqn.1986-03.com.sun:02:a7e47a0b-0248-cb2a-c023-9032cfbe44cf"

When I do:
VBoxManage list hdds

VBoxManage hangs (note the strange path in the Location line):
UUID: c9e95f75-ea3f-409a-b522-b1ceca9b695b
Parent UUID: base
Format: iSCSI
Location: /test/openbsd/192.168.84.1/24|iqn.1986-03.com.sun:02:1e8449f4-d7f0-63aa-9742-c4a37f681b98
(hangs)

How can I connect to the iSCSI device?
marc35
Posts: 18
Joined: 31. Jul 2010, 09:26
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Windows 2008 Server

Re: VBOX 4.0.0 iSCSI fails to connect

Post by marc35 »

Meanwhile...

I upgraded both Solaris machines to Solaris 10 U9 and installed latest patches.
I upgraded to VirtualBox 4.0.4.

Now the same virtual machine configuration works seamlessly.
Post Reply