LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   iscsid: discovery login to 192.168.130.101 rejected: initiator error (02/0b) (https://www.linuxquestions.org/questions/linux-software-2/iscsid-discovery-login-to-192-168-130-101-rejected-initiator-error-02-0b-797615/)

AlucardZero 03-24-2010 02:40 PM

iscsid: discovery login to 192.168.130.101 rejected: initiator error (02/0b)
 
I am trying to connect a Sun StorageTek 2510 to a RHEL4 host, and it's not working. Error:

Code:

Mar 24 15:27:10 file01 iscsi: Loading iscsi driver:  succeeded
Mar 24 15:27:15 file01 iscsid[29461]: version 4:0.1.11-7 variant (14-Apr-2008)
Mar 24 15:27:15 file01 iscsi: iscsid startup succeeded
Mar 24 15:27:15 file01 iscsid[29465]: Connected to Discovery Address 192.168.130.101
Mar 24 15:27:15 file01 iscsid[29465]: discovery login to 192.168.130.101 rejected: initiator error (02/0b), non-retryable, giving up

According to RFC 3720, 020b is "Invalid Request type during Login." Which means what?

System:
Code:

$ cat /etc/*release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
$ uname -a
Linux file01 2.6.9-89.0.20.ELsmp #1 SMP Mon Jan 18 12:22:21 EST 2010 i686 i686 i386 GNU/Linux
$ rpm -qa | grep scsi
iscsi-initiator-utils-4.0.3.0-8

I can ping the array and 130.101 is the correct address:
Code:

$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:11:43:xx:xx:xx 
          inet addr:192.168.130.100  Bcast:192.168.130.255  Mask:255.255.255.0
          inet6 addr: fe80::211:43ff:fe34:959a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10860 (10.6 KiB)  TX bytes:51832 (50.6 KiB)
          Interrupt:217

file01:~$ ping -c 1 192.168.130.101
PING 192.168.130.101 (192.168.130.101) 56(84) bytes of data.
64 bytes from 192.168.130.101: icmp_seq=0 ttl=64 time=1.86 ms

--- 192.168.130.101 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.861/1.861/1.861/0.000 ms, pipe 2

# ./sscs list -a tek2510 iscsi-port
 Array:                tek2510
  Controller:          A
  iSCSI Port:          A/1
  Port MAC:            00:A0:B8:xx:xx:xx
  Speed:                1 Gbps
  Maximum Speed:        1 Gbps
  Link Status:          Up
  Listening Port:      3260
  MTU:                  1500
  ICMP Ping Responses:  Enabled
  IPv4:                Enabled
  DHCP:                Off
  IP Address:          192.168.130.101
  Gateway:            0.0.0.0
  Netmask:            255.255.255.0
  VLAN:                Disabled
    VLAN ID:            0
  Ethernet Priority:  Disabled
    Priority:          0

/etc/iscsi.conf:
Code:

DiscoveryAddress=192.168.130.101:3260
/etc/initiatorname.iscsi:
Code:

InitiatorName=iqn.1987-05.com.cisco:01.file01
The 2510 has a pool, volume, mapping, host, and initiator associated.
Code:

# ./sscs list -a tek2510 pool Default
Pool: Default
  Description:          Default Storage Pool
  Profile:              Default
  Total Capacity:      544.910 GB
  Configured Capacity:  544.910 GB
  Available Capacity:  0.000 MB
  Volume:              vol1

# ./sscs list -a tek2510 volume vol1
Volume: vol1
  Type:                            Standard
  WWN:                            60:0A:0B:80:00:49:34:C0:00:00:02:35:4B:AA:1A:8E
  Pool:                            Default
  Profile:                        Default
  Virtual Disk:                    1
  Size:                            544.910 GB
  State:                          Mapped
  Status:                          Online
  Action:                          Initializing...
  Condition:                      Optimal
  Read Only:                      No
  Controller:                      A
  Preferred Controller:            A
  Modification Priority:          High
  RAID Level:                      5
  Segment Size:                    512 KB     
  Read Cache:                      Enabled
  Write Cache:                    Enabled
  Write Cache with Replication:    Disabled
  Write Cache without Batteries:  Disabled
  Write Cache Active:              True
  Flush Write Cache After:        10 s
  Disk Scrubbing:                  Enabled
  Disk Scrubbing with Redundancy:  Disabled
  Security:                        None
  Associations:
    Host: file01  LUN: 0  Initiator: file01i  WWN: iqn.1987-05.com.cisco:01.file01  Permission: Read/Write
# ./sscs list -a tek2510 initiator file01i
Initiator: file01i
  WWN:            unknown
  Host:            file01
  OS Type:        LNX - Linux
  IQN:            iqn.1987-05.com.cisco:01.file01
  Type:            ISCSI
  Authentication:  none

I've lost patience with this, thus I come here to ask. I successfully used this array on a Solaris 10 data host but needed to move it. Any ideas?

AlucardZero 04-02-2010 03:08 PM

This system died, so I rebuilt with RHEL 5.5, but had the same error.

I solved it by setting my host's InitiatorAlias to a string of 31 characters or less. The hostname of the machine w/ domain name was 32 characters; all I had to do was remove one letter and it worked.


All times are GMT -5. The time now is 04:44 AM.