LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
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?
 
Old 04-02-2010, 04:08 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

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


Reply


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 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 03:50 PM
pinging 192.168.0.10 from 192.168.2.101 cov Linux - Networking 12 05-03-2007 11:21 AM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 02:47 AM
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 02:04 AM
Debian bound to IP address 192.168.0.101 when connected to D-link wireless router henrylcr Linux - Wireless Networking 4 01-28-2004 06:35 PM


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

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