Basic iSCSI Linux Initiator and Target not working..connection timeout

Jim asked:

I have a very basic iSCSI initator and Target, both linux. One running Ubuntu the other Debian. So very similar.

The Target(10.0.0.10) ietd.conf

Target  iqn.2001-04.com.example:storage.LUN1
        Lun 0 Path=/home/user/LUNs/lun01.img,Type=fileio
        Alias LUN1

Target  iqn.2004-04.com.example:storage.LUN2
        Lun 0 Path=/home/user/LUNs/LUN2.img,Type=fileio
        Alias LUN2

Target(10.0.0.10) targets.allow

ALL ALL

Initiator(10.0.0.5) initiatorname.iscsi

InitiatorName=iqn.1993-08.org.debian:01:d90fbfb73c1

When Run

#iscsiadm -m discovery -t st -p 10.0.0.10

iscsiadm: connect to 10.0.0.10 timeout
iscsiadm: connect to 10.0.0.10 timeout
iscsiadm: connect to 10.0.0.10 timeout
iscsiadm: connect to 10.0.0.10 timeout
iscsiadm: connection login retries (reopen_max) 5 exceeded
iscsiadm: Could not perform SendTargets discovery: encountered connection failure

I’ve verified each device can ping each other. I’m really confused.


I answered:

Ensure that incoming connections to TCP port 3260 are open on the target’s firewall.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.