VirtualBox

Ticket #8899 (new defect)

Opened 3 years ago

Last modified 3 years ago

Repeated login to iscsi disk

Reported by: rdo911 Owned by:
Priority: major Component: other
Version: VirtualBox 4.0.6 Keywords: iscsi
Cc: Guest type: other
Host type: other

Description

Hardware: Silicon Mechanics Rackform iServ R109 with 16GB of RAM, 40GB SATA SSD Silicon Mechanics Storform iS703

Software: Physical machine is running Linux version 2.6.32-5-686-bigmem (Debian 2.6.32-31) Virtualbox 4.0.6 Open-E DSS Version 6.0up55.8102.5087 64bit

Installed the open-iscsi and iscsitarget pacakges. Able to mount iscsi targets as /dev/sdbX on the physical machine.

Setup a VM running Windows XP, installed the iscsi drivers, and mounted an iscsi target as the D: drive.

Attached an iscsi target to VM Debian-test using this command:

VBoxManage storageattach Debian-Test --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium iscsi --server 192.168.11.1 --target debian-test

In the VM settings I can see the disk details including the size of 100GB. Seems to be talking fine to the SAN.

VM has an ISO of Debian in the CD slot, and the iscsi target is an empty disk that I will be installing Debian onto, but I don't get that far.

When I start the VM, it just hangs waiting for the iscsi target. Checking the VBox.log this line is repeated: iSCSI: login to target debian-test successful

I also ran wireshark and captured packets between the SAN and the VM. A constant reset of the iscsi connection appears to be happening.

Have attached the VBox.log and wireshark packet capture.

Attachments

VBox.log Download (37.8 KB) - added by rdo911 3 years ago.
Starting the VM hangs
iscsi.pcap.gz Download (44.7 KB) - added by rdo911 3 years ago.
Wireshark packet capture
SAN.txt Download (2.0 KB) - added by rdo911 3 years ago.
Log from the SAN
SAN with InitialR2T No.txt Download (1.1 KB) - added by rdo911 3 years ago.
Log from SAN with InitialR2T=no

Change History

Changed 3 years ago by rdo911

Starting the VM hangs

Changed 3 years ago by rdo911

Wireshark packet capture

comment:1 Changed 3 years ago by aeichner

The packet trace shows that the target closes the connection after a "Mode Select" command. Do you have logs from the target?

Changed 3 years ago by rdo911

Log from the SAN

comment:2 Changed 3 years ago by rdo911

I found a log on the SAN that contains an error. This section from started to finished keeps repeating, probably once for each login I saw on the virtualbox side.

comment:3 Changed 3 years ago by aeichner

Can you check if your target config contains something like InitialR2T=yes and disable this? The VBox initiator doesn't support this method.

comment:4 Changed 3 years ago by rdo911

Found and changed to InitialR2T=no. Rebooted the SAN to ensure the change was picked up. But no change. Same repeating login in the VBox.log file.

Changed 3 years ago by rdo911

Log from SAN with InitialR2T=no

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use