Hello!
I try to setup iSER on my test nodes, but got an error "connection
timed out" on --login.
Next - is a step-by-step what i do:
on target node:
tgtadm --lld iscsi -m target --op new --tid 1 --targetname 22-90
tgtadm --lld iscsi -m logicalunit --op new --tid 1 --lun 1 --backing-
store /mnt/storage/sas/22-167 --bstype aio
tgtadm --lld iscsi -m logicalunit --op update --tid 1 --lun 1 --params
"scsi_id=id-22-167,scsi_sn=mp-22-167,vendor_id=CLODO,product_id=22-167"
tgtadm --lld iscsi -m target --op bind --tid 1 -I 192.168.15.8
sb-st0:~ # tgtadm --lld iscsi -m target --op show
Target 1: 22-90
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: id-22-167
SCSI SN: mp-22-167
Size: 5369 MB, Block size: 512
Online: Yes
Removable media: No
Readonly: No
Backing store type: aio
Backing store path: /mnt/storage/sas/22-167
Backing store flags:
Account information:
ACL information:
192.168.15.8
on initiator node:
/sbin/iscsiadm -m discovery -t sendtargets -p 192.168.15.5
192.168.15.5:3260,1 22-90
/sbin/iscsiadm -m node -T 22-90 -p 192.168.15.5 --op update -n
node.transport_name -v iser
/sbin/iscsiadm -m node -T 22-90 -p 192.168.15.5 --login
Logging in to [iface: default, target: 22-90, portal:
192.168.15.5,3260]
iscsiadm: Could not login to [iface: default, target: 22-90, portal:
192.168.15.5,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
in dmesg i see repeated messages like:
[ 1383.173098] iser: iser_connect:connecting to: 192.168.15.5, port
0xbc0c
[ 1383.174396] iser: iser_cma_handler:event 0 conn ffff8801fe008e10 id
ffff8801fe148800
[ 1383.176903] iser: iser_cma_handler:event 2 conn ffff8801fe008e10 id
ffff8801fe148800
[ 1383.186174] iser: iser_create_ib_conn_res:setting conn
ffff8801fe008e10 cma_id ffff8801fe148800: fmr_pool ffff8801fb5c9b40 qp
ffff8801fb710600
[ 1383.430316] iser: iscsi_iser_ep_poll:ib conn ffff8801fe008e10 rc =
0
[ 1383.686316] iser: iscsi_iser_ep_poll:ib conn ffff8801fe008e10 rc =
0
[ 1383.942314] iser: iscsi_iser_ep_poll:ib conn ffff8801fe008e10 rc =
0
[ 1383.969627] iser: iser_cma_handler:event 9 conn ffff8801fe008e10 id
ffff8801fe148800
[ 1384.194325] iser: iscsi_iser_ep_poll:ib conn ffff8801fe008e10 rc =
1
[ 1384.194412] scsi5 : iSCSI Initiator over iSER, v.0.1
[ 1384.197902] iser: iscsi_iser_conn_bind:binding iscsi conn
ffff8801fd254a28 to iser_conn ffff8801fe008e10
[ 1399.066331] iser: iscsi_iser_ep_disconnect:ib conn ffff8801fe008e10
state 2
[ 1399.066422] iser: iser_cq_tasklet_fn:comp w. error op 0 status 5
[ 1399.066802] iser: iser_cma_handler:event 10 conn ffff8801fe008e10
id ffff8801fe148800
[ 1399.066837] iser: iser_free_ib_conn_res:freeing conn
ffff8801fe008e10 cma_id ffff8801fe148800 fmr pool ffff8801fb5c9b40 qp
ffff8801fb710600
[ 1399.067608] iser: iser_device_try_release:device ffff8801fb17f240
refcount 0
[ 1401.338351] iser: iser_connect:connecting to: 192.168.15.5, port
0xbc0c
...
if i do on initiator node:
/sbin/iscsiadm -m node -T 22-90 -p 192.168.15.5 --op update -n
node.transport_name -v tcp
then --login is works fine:
/sbin/iscsiadm -m node -T 22-90 -p 192.168.15.5 --login
Logging in to [iface: default, target: 22-90, portal:
192.168.15.5,3260]
Login to [iface: default, target: 22-90, portal: 192.168.15.5,3260]:
successful
What i doing wrong?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.