* Problem with iSCSI over localhost
@ 2014-04-09 3:19 Steven Graf
0 siblings, 0 replies; only message in thread
From: Steven Graf @ 2014-04-09 3:19 UTC (permalink / raw)
To: stgt
[-- Attachment #1: Type: text/plain, Size: 2204 bytes --]
Hello everyone,
I'm presently trying to get stgt (v1.0.46) and open-iscsi (v6.2.0-873)
to play nice together over localhost using an off port. I have stgt
configured to bind to 127.0.0.1 on port 40960:
tcp 0 0 127.0.0.1:40960 0.0.0.0:*
LISTEN 1700/tgtd
I can successfully connect with netcat to this IP and port, and I also
flushed the firewall rules for good measure. Here is my target.conf:
[root@localhost developer]# cat /etc/tgt/conf.d/mytarget.conf
<target iqn.2014-04.woot.ventureindustries:san.target01>
backing-store /dev/sdb
</target>
When I use iscsiadm to list the targets I get the following:
[root@localhost developer]# iscsiadm --mode discovery -t sendtarget -p
127.0.0.1:40960
# BEGIN RECORD 6.2.0-873.10.el6
discovery.startup = manual
discovery.type = sendtargets
discovery.sendtargets.address = 127.0.0.1
discovery.sendtargets.port = 40960
discovery.sendtargets.auth.authmethod = None
discovery.sendtargets.auth.username = <empty>
discovery.sendtargets.auth.password = <empty>
discovery.sendtargets.auth.username_in = <empty>
discovery.sendtargets.auth.password_in = <empty>
discovery.sendtargets.timeo.login_timeout = 15
discovery.sendtargets.use_discoveryd = No
discovery.sendtargets.discoveryd_poll_inval = 30
discovery.sendtargets.reopen_max = 5
discovery.sendtargets.timeo.auth_timeout = 45
discovery.sendtargets.timeo.active_timeout = 30
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
# END RECORD
When I try to log into the target it fails.
iscsiadm --mode node --targetname
iqn.2014-04.woot.ventureindustries:san.target01 --login
Here are the messages I get from /var/log/messages:
Apr 8 19:54:56 localhost iscsid: cannot make a connection to
127.0.0.1:40960 (-1,13)
Apr 8 19:55:49 localhost iscsid: Connection-1:0 to [target:
iqn.2014-04.woot.ventureindustries:san.target01, portal:
127.0.0.1,40960] through [iface: default] is shutdown.
I also ran tcpdump -vvv -i lo and I see my netcat traffic, but I never
see anything when I kick this off.
Any ideas what may be going wrong here?
Thanks in advanced!
--
Steven Graf
President
Resolutech, LLC
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3746 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-09 3:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09 3:19 Problem with iSCSI over localhost Steven Graf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.