Re: iscsi connection error 1020

2012-11-07 Thread Michael Christie

On Nov 6, 2012, at 9:54 AM, guidry.m...@gmail.com wrote:
 [root@holly ~]# iscsiadm -m node -p 172.16.50.1 -T 
 iqn.2001-05.com.equallogic:0-8a0906-172228806-45a001b4e1a50980-workflow-software-6
  --login
 Logging in to [iface: eth1, target: 
 iqn.2001-05.com.equallogic:0-8a0906-172228806-45a001b4e1a50980-workflow-software-6,
  portal: 172.16.50.1,3260] (multiple)
 iscsiadm: Could not login to [iface: eth1, target: 
 iqn.2001-05.com.equallogic:0-8a0906-172228806-45a001b4e1a50980-workflow-software-6,
  portal: 172.16.50.1,3260].
 iscsiadm: initiator reported error (8 - connection timed out)
 iscsiadm: Could not log into all portals
 
 [root@holly ~]# tail /var/log/messages
 Nov  6 10:21:22 holly kernel: session55: session recovery timed out after 120 
 secs
 Nov  6 10:21:26 holly iscsid: semop down failed 22
 Nov  6 10:25:05 holly kernel: scsi64 : iSCSI Initiator over TCP/IP
 Nov  6 10:25:14 holly kernel: connection56:0: detected conn error (1020)
 Nov  6 10:25:42 holly kernel: connection56:0: detected conn error (1020)
 Nov  6 10:26:09 holly kernel: connection56:0: detected conn error (1020)
 Nov  6 10:26:36 holly kernel: connection56:0: detected conn error (1020)
 Nov  6 10:27:03 holly kernel: connection56:0: detected conn error (1020)
 Nov  6 10:27:15 holly kernel: session56: session recovery timed out after 120 
 secs
 Nov  6 10:27:19 holly iscsid: semop down failed 22

So are some sessions getting setup ok and some are not?

Could you send all of the /var/log/messages?

When you see the 1020 errors above, what is in the target's log?

Did you try changing the rp_filter value? See the iscsi README and your kernel 
documentation.

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: iscsi connection error

2009-06-15 Thread sundar mahadevan

Hi Mike,
First my apologies for a late reply. I have resolved this issue. I
changed the install locations and it worked. Earlier i tried shared
home install. Basically, i had a shared oracle home and tried to
install the oracle software (binaries) to be shared by both nodes. But
later i installed the oracle softwares separate on both the nodes and
they worked fine. Appreciate your sincere efforts to help noobs like
me.

On Thu, Jun 11, 2009 at 1:02 PM, Mike Christiemicha...@cs.wisc.edu wrote:

 On 06/10/2009 10:49 AM, sundar mahadevan wrote:
 Hi Members,
 First of all, I'm not too sure if this question is supposed to raise
 here. Sorry if this is not the right place. Appreciate if you could
 direct me to the right place. Thanks.

 OS: Oracle enterprise linux
 rpm -qa | grep -i scsi

 scsi-target-utils-0.0-5.20080917snap.el5
 iscsi-initiator-utils-6.2.0.868-0.18.el5


 what kernel are you using (do uname -a)?

 I'm trying to install oracle 9i rac. During instllation half way
 through, i receive the following error messages. I encountered this
 problem twice. In fact on the second attempt, the connection got
 dropped at 10:54 and then somehow reconnected itself in a few seconds.
 But later the connection dropped and did not comeback again. Please
 help. Noob. Thanks in advance.

 Jun 10 10:54:37 sunny1pub kernel:  connection1:0: iscsi: detected conn
 error (1011)
 .
 .
 .
 Jun 10 10:54:40 sunny1pub iscsid: connection1:0 is operational after
 recovery (1 attempts)


 Jun 10 10:27:14 sunny1pub kernel: o2net: accepted connection from node
 sunny2pub.ezhome.com (num 1) at 10.1.1.2:
 Jun 10 10:27:18 sunny1pub kernel: ocfs2_dlm: Node 1 joins domain
 1B9768E4C4FC4165A22E5E95E6A93F80
 Jun 10 10:27:18 sunny1pub kernel: ocfs2_dlm: Nodes in domain
 (1B9768E4C4FC4165A22E5E95E6A93F80): 0 1
 Jun 10 10:54:37 sunny1pub kernel:  connection1:0: iscsi: detected conn
 error (1011)
 Jun 10 10:54:37 sunny1pub iscsid: Kernel reported iSCSI connection 1:0
 error (1011) state (3)
 Jun 10 10:54:37 sunny1pub tgtd: abort_task_set(979) found a01 0
 Jun 10 10:54:37 sunny1pub tgtd: conn_close(88) connection closed 0x9e370c4 2
 Jun 10 10:54:39 sunny1pub kernel: iscsi: host reset succeeded


 Is the initiator connected to the target running on the same box?


 It looks like a command took too long. If a command takes longer than
 the scsi command timeout (/sys/block/sdX/device/timeout) then the scsi
 layer will try to abort it (if that fails reset the lun and if that
 fails reset the host).


 Jun 10 10:54:40 sunny1pub iscsid: received iferror -38
 Jun 10 10:54:40 sunny1pub last message repeated 2 times
 Jun 10 10:54:40 sunny1pub iscsid: connection1:0 is operational after
 recovery (1 attempts)
 Jun 10 10:57:57 sunny1pub kernel: ping timeout of 5 secs expired, last
 rx 1740985, last ping 1745985, now 1750985

 The initiator sends a iscsi nop as a ping every x seconds. If we do not
 get a response we drop the sesison, try to relogin and retry the IO.

 Jun 10 10:57:57 sunny1pub kernel:  connection1:0: iscsi: detected conn
 error (1011)
 Jun 10 10:57:59 sunny1pub iscsid: Kernel reported iSCSI connection 1:0
 error (1011) state (3)
 Jun 10 10:59:58 sunny1pub kernel:  session1: iscsi: session recovery
 timed out after 120 secs

 it looks like something happened to the target or connection. We were
 not able to log back in after trying for 2 minutes
 (node.session.replacement_timeout).

 Jun 10 10:59:58 sunny1pub kernel: iscsi: cmd 0x2a is not queued (8)
 Jun 10 11:06:10 sunny1pub syslogd 1.4.1: restart.

 


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iscsi connection error

2009-06-11 Thread Mike Christie

On 06/10/2009 10:49 AM, sundar mahadevan wrote:
 Hi Members,
 First of all, I'm not too sure if this question is supposed to raise
 here. Sorry if this is not the right place. Appreciate if you could
 direct me to the right place. Thanks.

 OS: Oracle enterprise linux
 rpm -qa | grep -i scsi

 scsi-target-utils-0.0-5.20080917snap.el5
 iscsi-initiator-utils-6.2.0.868-0.18.el5


what kernel are you using (do uname -a)?

 I'm trying to install oracle 9i rac. During instllation half way
 through, i receive the following error messages. I encountered this
 problem twice. In fact on the second attempt, the connection got
 dropped at 10:54 and then somehow reconnected itself in a few seconds.
 But later the connection dropped and did not comeback again. Please
 help. Noob. Thanks in advance.

 Jun 10 10:54:37 sunny1pub kernel:  connection1:0: iscsi: detected conn
 error (1011)
 .
 .
 .
 Jun 10 10:54:40 sunny1pub iscsid: connection1:0 is operational after
 recovery (1 attempts)


 Jun 10 10:27:14 sunny1pub kernel: o2net: accepted connection from node
 sunny2pub.ezhome.com (num 1) at 10.1.1.2:
 Jun 10 10:27:18 sunny1pub kernel: ocfs2_dlm: Node 1 joins domain
 1B9768E4C4FC4165A22E5E95E6A93F80
 Jun 10 10:27:18 sunny1pub kernel: ocfs2_dlm: Nodes in domain
 (1B9768E4C4FC4165A22E5E95E6A93F80): 0 1
 Jun 10 10:54:37 sunny1pub kernel:  connection1:0: iscsi: detected conn
 error (1011)
 Jun 10 10:54:37 sunny1pub iscsid: Kernel reported iSCSI connection 1:0
 error (1011) state (3)
 Jun 10 10:54:37 sunny1pub tgtd: abort_task_set(979) found a01 0
 Jun 10 10:54:37 sunny1pub tgtd: conn_close(88) connection closed 0x9e370c4 2
 Jun 10 10:54:39 sunny1pub kernel: iscsi: host reset succeeded


Is the initiator connected to the target running on the same box?


It looks like a command took too long. If a command takes longer than 
the scsi command timeout (/sys/block/sdX/device/timeout) then the scsi 
layer will try to abort it (if that fails reset the lun and if that 
fails reset the host).


 Jun 10 10:54:40 sunny1pub iscsid: received iferror -38
 Jun 10 10:54:40 sunny1pub last message repeated 2 times
 Jun 10 10:54:40 sunny1pub iscsid: connection1:0 is operational after
 recovery (1 attempts)
 Jun 10 10:57:57 sunny1pub kernel: ping timeout of 5 secs expired, last
 rx 1740985, last ping 1745985, now 1750985

The initiator sends a iscsi nop as a ping every x seconds. If we do not 
get a response we drop the sesison, try to relogin and retry the IO.

 Jun 10 10:57:57 sunny1pub kernel:  connection1:0: iscsi: detected conn
 error (1011)
 Jun 10 10:57:59 sunny1pub iscsid: Kernel reported iSCSI connection 1:0
 error (1011) state (3)
 Jun 10 10:59:58 sunny1pub kernel:  session1: iscsi: session recovery
 timed out after 120 secs

it looks like something happened to the target or connection. We were 
not able to log back in after trying for 2 minutes 
(node.session.replacement_timeout).

 Jun 10 10:59:58 sunny1pub kernel: iscsi: cmd 0x2a is not queued (8)
 Jun 10 11:06:10 sunny1pub syslogd 1.4.1: restart.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---