Hi
I'm trying to connect my open-iscsi initiator to target, but failed to login with the command "sudo iscsiadm -m node --login". Here is my error:
Logging in to [iface: default, target: iqn.2003-01.org.linux-iscsi.ubuntu.i686:sn.1fe6a7cbc123, portal: 192.168.157.161,3260]
Logging in to [iface: default, target: iqn.2003-01.org.linux-iscsi.ubuntu.i686:sn.d0a998675819, portal: 192.168.157.160,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2003-01.org.linux-iscsi.ubuntu.i686:sn.1fe6a7cbc123, portal: 192.168.157.161,3260]:
iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)
iscsiadm: Could not login to [iface: default, target: iqn.2003-01.org.linux-iscsi.ubuntu.i686:sn.d0a998675819, portal: 192.168.157.160,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
I'm using instructions in the following link:
iscsiadm discovery is OK too.
and my target is LIO. It's fine and my targetcli shows this:
o- / ..................................................................... [...]
o- backstores .......................................................... [...]
| o- fileio ............................................... [0 Storage Object]
| o- iblock ............................................... [0 Storage Object]
| o- pscsi ................................................ [0 Storage Object]
| o- rd_dr ................................................ [0 Storage Object]
| o- rd_mcp ............................................... [1 Storage Object]
| o- saeedRAM .......................................... [ramdisk activated]
o- iscsi .......................................................... [1 Target]
| o- iqn.2003-01.org.linux-iscsi.ubuntu.i686:sn.1fe6a7cbc123 ......... [1 TPG]
| o- tpgt1 ....................................................... [enabled]
| o- acls ........................................................ [1 ACL]
| | o- iqn.1993-08.org.debian:01:3db9b7d39af .............. [1 Mapped LUN]
| | o- mapped_lun0 ......................................... [lun0 (rw)]
| o- luns ........................................................ [1 LUN]
| | o- lun0 .................................. [rd_mcp/saeedRAM (ramdisk)]
| o- portals .................................................. [1 Portal]
o- loopback ....................................................... [0 Target]
o- tcm_fc ......................................................... [0 Target]
What might be the problem? I have searched a lot but didn't find anything beneficial.
Additionally I'm using both initiator and target in same computer.
My system: Linux ubuntu 12.04 LTS.
Thanks in advance!