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 )
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)
Change History (9)
by , 13 years ago
comment:1 by , 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?
comment:2 by , 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 , 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 , 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.
comment:5 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Starting the VM hangs