Public bug reported:

Connecting from an Ubuntu 12.04LTS server to a SANRAD switch offering
iSCSI connectivity, fails. First, look for targets

root@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@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@media2:~# echo $?
0

Apparently connected - it says successful, and returns zero. Now, check
partitions

root@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

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1034015

Title:
  Fails to connect to iSCSI target

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1034015/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to