[stgt] Transport endpoint is not connected

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Apr 24 03:40:55 CEST 2011


On Wed, 20 Apr 2011 14:58:07 +0200
Mark Ruys <mark.ruys at in2sports.net> wrote:

> I'm sorry if I post this question to the wrong list, but...
> 
> For about a year now I have a iSCSI target running fine. Today I needed 
> to add a target, so I logged and typed:
> 
> $ sudo tgtadm --lld iscsi --mode target --op show
> tgtadm: can't send the request to the tgt daemon, Transport endpoint is 
> not connected
> 
> As this is a production machine, this really scares me. Currently, all 
> targets seem to run fine. How should I interpret this message and how to 
> get tgtadm running again? I can't afford any downtime, so I must be as 
> careful as possible.

Hmm, the message means that tgtadm can't connect to tgtd. Usually, you
can see this message when tgtd dies.

But your 'ps' output says that tgtd runs fine. Your initiators works
so obviously tgtd works...


> Thanks!
> 
> Mark
> 
> $ cat /etc/redhat-release
> CentOS release 5.6 (Final)
> 
> $ rpm -qa | grep scsi
> scsi-target-utils-1.0.8-0.el5_6.1
> iscsi-initiator-utils-6.2.0.872-6.el5
> 
> $ uname -a
> Linux akira.in2sports.net 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 
> EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
> 
> $ ps waux | grep scsi
> root       486  0.0  0.0      0     0 ?        S<    2010   0:00 [scsi_eh_0]
> root       507  0.0  0.0      0     0 ?        S<    2010   0:00 [scsi_eh_1]
> root       508  0.0  0.0      0     0 ?        S<    2010   0:00 [scsi_eh_2]
> root       509  0.0  0.0      0     0 ?        S<    2010  68:34 [scsi_eh_3]
> root       510  0.0  0.0      0     0 ?        S<    2010   0:00 [scsi_eh_4]
> root      1278  0.0  0.0      0     0 ?        S<    2010   0:00 [scsi_eh_5]
> root      1281  0.0  0.0      0     0 ?        S<    2010   0:00 [scsi_eh_6]
> markr    21395  0.0  0.0  61180   756 pts/0    SN+  14:52   0:00 grep scsi
> 
> $ ps waux | grep tgt
> root      6657  1.4  0.0 217804  1436 ?        Ssl   2010 3970:29 tgtd
> root      6658  0.0  0.0  12416   408 ?        S     2010   0:00 tgtd
> markr    21397  0.0  0.0  61176   752 pts/0    SN+  14:52   0:00 grep tgt
> 
> $ sudo service tgtd status
> tgtd (pid 6658 6657) is running...
> 
> --
> 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
--
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