Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2010, 02:40 PM   #1
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
iscsid: discovery login to rejected: initiator error (02/0b)

I am trying to connect a Sun StorageTek 2510 to a RHEL4 host, and it's not working. Error:

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 
Mar 24 15:27:15 file01 iscsid[29465]: discovery login to rejected: initiator error (02/0b), non-retryable, giving up
According to RFC 3720, 020b is "Invalid Request type during Login." Which means what?

$ 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
I can ping the array and 130.101 is the correct address:
$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:11:43:xx:xx:xx  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::211:43ff:fe34:959a/64 Scope:Link
          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)

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

--- 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:
   VLAN:                Disabled
    VLAN ID:            0
   Ethernet Priority:   Disabled
    Priority:           0
The 2510 has a pool, volume, mapping, host, and initiator associated.
# ./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
    Host: file01  LUN: 0  Initiator: file01i  WWN:  Permission: Read/Write
# ./sscs list -a tek2510 initiator file01i
Initiator: file01i
  WWN:             unknown
  Host:            file01
  OS Type:         LNX - Linux
  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?
Old 04-02-2010, 03:08 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Original Poster
Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[root@wlxxb ~]# telnet 25 Trying telnet problem cnhawk386 Linux - Networking 1 10-10-2007 02:50 PM
pinging from cov Linux - Networking 12 05-03-2007 10:21 AM
What route to access daisy chained 2d router after (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 01:47 AM
Is someone on my network?! ::ffff: ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
Debian bound to IP address when connected to D-link wireless router henrylcr Linux - Wireless Networking 4 01-28-2004 05:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration