[ewg] iSER
Eli Dorfman
dorfman.eli at gmail.com
Thu May 22 12:19:30 PDT 2008
On Thu, May 22, 2008 at 12:43 PM, Renaud Durand
<cousin_vinnie at hotmail.fr> wrote:
> hello,
>
> I tried to run iscsi on my SLES10 sp1 computers, for this, i followed the
> tutorials of OFED's wiki
> (https://wiki.openfabrics.org/tiki-index.php?page=iSER and
> https://wiki.openfabrics.org/tiki-index.php?page=ISER-target)
> my problem is that : the target is working well (I can "discover" myself
> either with 127.0.0.1, my ethernet address and my ib address)
>
> linux-target:~ # iscsiadm -m discovery -t sendtargets -p 127.0.0.1
> 161.74.X.X:3260,1 iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz
> 127.0.0.1:3260,1 iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz
> linux-target:~ #
>
> but the remote computer can't discover the target
>
> linux-cx5e:~ # iscsiadm -m discovery -t sendtargets -p 161.74.X.X
> iscsiadm: connection to discovery address 161.74.X.X failed
> iscsiadm: connection to discovery address 161.74.X.X failed
> iscsiadm: connection to discovery address 161.74.X.X failed
> iscsiadm: connection to discovery address 161.74.X.X failed
> iscsiadm: connection to discovery address 161.74.X.X failed
> iscsiadm: connection login retries (reopen_max) 5 exceeded
>
> but the ping works
> linux-cx5e:~ # ping 161.74.X.X
> PING 161.74.83.128 (161.74.X.X) 56(84) bytes of data.
> 64 bytes from 161.74.X.X: icmp_seq=1 ttl=64 time=2.27 ms
> 64 bytes from 161.74.X.X: icmp_seq=2 ttl=64 time=0.068 ms
>
> here is lsmod on my computer
>
> linux-cx5e:~ # lsmod | grep iscsi
> iscsi_tcp 27520 0
> libiscsi 30208 1 iscsi_tcp
> scsi_transport_iscsi 34320 3 iscsi_tcp,libiscsi
> scsi_mod 156600 6
> iscsi_tcp,libiscsi,scsi_transport_iscsi,sg,libata,sd_mod
>
>
> I really don't understand what the problem is,
> if you have a suggestion/solution please tell me because I am desperate
>
Please check the ACL in the target and verify that it includes the
initiator IB address
Run: tgtadm --lld iscsi --op show --mode target
If it is not you should add your initiator to the ACL using:
tgtadm --lld iscsi --mode target --op bind --tid=[id]
--initiator-address=[src-ip]
Also running iscsiadm -m discovery will create a node with tcp
transport and not iser.
If you want to use iser transport use iscsi_discovery script on the initiator.
Eli.
More information about the ewg
mailing list