VirtualBox

Opened 13 years ago

Closed 8 years ago

#8899 closed defect (obsolete)

Repeated login to iscsi disk

Reported by: Russ Owned by:
Component: other Version: VirtualBox 4.0.6
Keywords: iscsi Cc:
Guest type: other Host type: other

Description (last modified by aeichner)

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 (4)

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

Download all attachments as: .zip

Change History (9)

by Russ, 13 years ago

Attachment: VBox.log added

Starting the VM hangs

by Russ, 13 years ago

Attachment: iscsi.pcap.gz added

Wireshark packet capture

comment:1 by aeichner, 13 years ago

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

by Russ, 13 years ago

Attachment: SAN.txt added

Log from the SAN

comment:2 by Russ, 13 years ago

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 by aeichner, 13 years ago

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 by Russ, 13 years ago

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.

by Russ, 13 years ago

Attachment: SAN with InitialR2T No.txt added

Log from SAN with InitialR2T=no

comment:5 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use