[Bug 1034015] Re: Fails to connect to iSCSI target
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Thu Aug 9 11:38:03 UTC 2012
** Tags removed: needs-upstream-testing
** Tags added: kernel-bug-exists-upstream
** Also affects: open-iscsi (Ubuntu)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1034015
Title:
Fails to connect to iSCSI target
Status in “linux” package in Ubuntu:
Confirmed
Status in “open-iscsi” package in Ubuntu:
New
Bug description:
Connecting from an Ubuntu 12.04LTS server to a SANRAD switch offering
iSCSI connectivity, fails. First, look for targets
root at media2:~# iscsiadm -m discovery -t st -p 172.31.1.15
172.31.1.15:3260,65535 bigmedia1
172.31.1.14:3260,65535 bigmedia1
172.31.1.16:3260,65535 bigmedia1
172.31.1.15:3260,65535 media1target
172.31.1.14:3260,65535 media1target
172.31.1.16:3260,65535 media1target
172.31.1.15:3260,65535 bigmedia2
172.31.1.14:3260,65535 bigmedia2
172.31.1.16:3260,65535 bigmedia2
Lots of nice targets - now connect to one
root at media2:~# iscsiadm -m node -T bigmedia1 -p 172.31.1.15 -l
Logging in to [iface: default, target: bigmedia1, portal: 172.31.1.15,3260]
Login to [iface: default, target: bigmedia1, portal: 172.31.1.15,3260]: successful
root at media2:~# echo $?
0
Apparently connected - it says successful, and returns zero. Now,
check partitions
root at media2:~# cat /proc/partitions
major minor #blocks name
11 0 1048575 sr0
8 0 731445248 sda
8 1 1048576 sda1
8 2 730395648 sda2
252 0 20971520 dm-0
252 1 8388608 dm-1
Nothing new - sda is my root drive, the new one should be in there as
sdb. Checking dmesg, it has two new lines
[ 358.391438] scsi6 : iSCSI Initiator over TCP/IP
[ 358.645490] scsi scan: INQUIRY result too short (5), using 36
Please see http://karlsbakk.net/tmp/iscsi-debug.txt for a login
attempt with -d 200 and http://karlsbakk.net/tmp/iscsi-fail.pcap for a
traffic dump between the two machines during login attempt.
Please note that with open-iscsi on a CentOS 5.8 machine of the same
make, this works perfectly.
roy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1034015/+subscriptions
More information about the foundations-bugs
mailing list