[stgt] can't send the request to the tgt daemon

j.Lucas lukasz.jurewicz at gmail.com
Wed Oct 28 19:56:35 CET 2009


Hello,

I have a problem witch iSER. I can't make it work. Plain iSCSI works well.


The problem is that:

1) I can load all infiniband modules on target
2) run tgtd daemon


and here problem begins

3) when I try to run: tgtadm I get a message. (./tgtadm --lld iscsi
--mode target --op new --tid 1 --targetname aaaaaaa )

"tgtadm: can't send the request to the tgt daemon, Transport endpoint
is not connected"

but in "ps aux I see:

root      4802  0.0  0.0  18008   476 ?        Ss   21:39   0:00 ./tgtd
root      4803 99.4  0.0  18140   776 ?        Rs   21:39   0:07 ./tgtd


I strace a little bit, and i found that


connect(3, {sa_family=AF_FILE,
path="/tmp/.TGT_IPC_ABSTRACT_NAMESPACE"}, 110) = -1 ENOENT (No such
file or directory)


but when i do not load infiniband modules, that file appear in /tmp/
and all works ok.

The second problem is, that, when i first run tgtd and export file,
next load modules, the initiator can't connect the target.
discovery option works. I can see the LUN, but connect do not work, time-out.

I use STGT version 0.9.9.  STGT was built with "make ISCSI=1
ISCSI_RDMA=1" as specified by README.iser.

Can somebody advice me what I'm doing wrongly?

Thanks,
Lucas
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list