Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iscsiadm cannot establish connection to Target disk array - CentOS 6.4

Status
Not open for further replies.

handle789

Technical User
Feb 21, 2007
41
US
Hi,

I kept on getting the "load transport" error when running iscsiadm discovery to establish connection from the Linux box to the Target iscsi disk arry. I used the default iscsi config file. Any idea of what the problem is? Thank you.

[root:localhost2 ~]# iscsiadm -m discovery -I eth1 -t sendtargets -p 192.168.11.5:3260
iscsiadm: Could not load transport .Dropping interface eth1.

The HP Target disk array has been set up with the IQN of the CentOS box and Luns have been presented. I could ping the target 192.168.11.5 via eth1 and could telnet to its port 3260.

[root:localhost2 ~]# cat /etc/centos-release
CentOS release 6.4 (Final)

[root:localhost2 ~]# rpm -aq | grep -i iscsi
iscsi-initiator-utils-6.2.0.873-2.el6.x86_64

[root:localhost2 ~]# ps -ef | grep iscsi
root 7003 1 0 11:52 ? 00:00:00 iscsiuio
root 7007 1 0 11:52 ? 00:00:00 iscsid
root 7008 1 0 11:52 ? 00:00:00 iscsid
root 11462 1198 0 13:53 pts/0 00:00:00 grep iscsi
root 31803 2 0 Jun06 ? 00:00:00 [iscsi_eh]
[root:localhost2 ~]#


When running the same iscsiadm command with the flag "-d 8"

[root:localhost2 ~]# iscsiadm -m discovery -I eth1 -t sendtargets -d 8 -p 192.168.11.5:3260

after numerous "Updating transport ..." lines of output, finally the command failed with:

iscsiadm: Updating transport iser
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/iser/caps'

iscsiadm: Updating transport tcp
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/tcp/caps'

iscsiadm: Could not load transport .Dropping interface eth1. <================== ERROR

++++++++++++++++++

Here is the complete listing of the output of that command from start to finish, using the -d 8 flag.


[root:localhost2 ~]# iscsiadm -m discovery -I eth1 -t sendtargets -d 8 -p 192.168.11.5:3260

iscsiadm: ip 192.168.11.5, port 3260, tgpt -1
iscsiadm: Max file limits 1024 4096

iscsiadm: updating defaults from '/etc/iscsi/iscsid.conf'
iscsiadm: updated 'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', '32768' => '32768'
iscsiadm: updated 'node.startup', 'manual' => 'automatic'
iscsiadm: updated 'node.leading_login', 'No' => 'No'
iscsiadm: updated 'node.session.timeo.replacement_timeout', '120' => '120'
iscsiadm: updated 'node.conn[0].timeo.login_timeout', '30' => '15'
iscsiadm: updated 'node.conn[0].timeo.logout_timeout', '15' => '15'
iscsiadm: updated 'node.conn[0].timeo.noop_out_interval', '5' => '5'
iscsiadm: updated 'node.conn[0].timeo.noop_out_timeout', '5' => '5'
iscsiadm: updated 'node.session.err_timeo.abort_timeout', '15' => '15'
iscsiadm: updated 'node.session.err_timeo.lu_reset_timeout', '30' => '30'
iscsiadm: updated 'node.session.err_timeo.tgt_reset_timeout', '30' => '30'
iscsiadm: updated 'node.session.initial_login_retry_max', '4' => '8'
iscsiadm: updated 'node.session.cmds_max', '128' => '128'
iscsiadm: updated 'node.session.queue_depth', '32' => '32'
iscsiadm: updated 'node.session.xmit_thread_priority', '-20' => '-20'
iscsiadm: updated 'node.session.iscsi.InitialR2T', 'No' => 'No'
iscsiadm: updated 'node.session.iscsi.ImmediateData', 'Yes' => 'Yes'
iscsiadm: updated 'node.session.iscsi.FirstBurstLength', '262144' => '262144'
iscsiadm: updated 'node.session.iscsi.MaxBurstLength', '16776192' => '16776192'
iscsiadm: updated 'node.conn[0].iscsi.MaxRecvDataSegmentLength', '262144' => '262144'
iscsiadm: updated 'node.conn[0].iscsi.MaxXmitDataSegmentLength', '0' => '0'
iscsiadm: updated 'node.conn[0].iscsi.HeaderDigest', 'None' => 'None'
iscsiadm: updated 'node.session.nr_sessions', '1' => '1'
iscsiadm: updated 'node.session.iscsi.FastAbort', 'Yes' => 'Yes'
iscsiadm: looking for iface conf /var/lib/iscsi/ifaces/eth1
iscsiadm: in read_transports
iscsiadm: Adding new transport be2iscsi
iscsiadm: Matched transport be2iscsi

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/be2iscsi'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/be2iscsi/handle'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/be2iscsi/handle'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/be2iscsi/handle' with attribute value

'18446744072103917056'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/be2iscsi'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/be2iscsi/caps'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/be2iscsi/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/be2iscsi/caps' with attribute value '0x8b9'

iscsiadm: Adding new transport bnx2i
iscsiadm: Matched transport bnx2i

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/bnx2i'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/bnx2i/handle'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/bnx2i/handle'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/bnx2i/handle' with attribute value '18446744072107516032'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/bnx2i'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/bnx2i/caps'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/bnx2i/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/bnx2i/caps' with attribute value '0x8b9'

iscsiadm: Adding new transport cxgb3i
iscsiadm: Matched transport cxgb3i

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb3i'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/cxgb3i/handle'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/cxgb3i/handle'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/cxgb3i/handle' with attribute value '18446744072107321792'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb3i'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/cxgb3i/caps'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/cxgb3i/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/cxgb3i/caps' with attribute value '0x30b9'

iscsiadm: Adding new transport cxgb4i
iscsiadm: Matched transport cxgb4i

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb4i'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/cxgb4i/handle'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/cxgb4i/handle'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/cxgb4i/handle' with attribute value '18446744072107370752'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb4i'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/cxgb4i/caps'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/cxgb4i/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/cxgb4i/caps' with attribute value '0x30b9'

iscsiadm: Adding new transport iser
iscsiadm: Matched transport iser

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/iser/handle' with attribute value '18446744072107274528'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/iser/caps'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/iser/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/iser/caps' with attribute value '0x9'

iscsiadm: Adding new transport tcp
iscsiadm: Matched transport tcp

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/handle' with attribute value '18446744072106826560'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps'

iscsiadm: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/tcp/caps'

iscsiadm: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/tcp/caps'

iscsiadm: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/caps' with attribute value '0x39'

iscsiadm: in read_transports
iscsiadm: Updating transport be2iscsi
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/be2iscsi'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/be2iscsi/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/be2iscsi'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/be2iscsi/caps'

iscsiadm: Updating transport bnx2i
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/bnx2i'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/bnx2i/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/bnx2i'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/bnx2i/caps'

iscsiadm: Updating transport cxgb3i
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb3i'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb3i/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb3i'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb3i/caps'

iscsiadm: Updating transport cxgb4i
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb4i'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb4i/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb4i'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb4i/caps'

iscsiadm: Updating transport iser
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/iser/caps'

iscsiadm: Updating transport tcp
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/tcp/caps'

iscsiadm: in read_transports
iscsiadm: Updating transport be2iscsi
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/be2iscsi'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/be2iscsi/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/be2iscsi'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/be2iscsi/caps'

iscsiadm: Updating transport bnx2i
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/bnx2i'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/bnx2i/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/bnx2i'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/bnx2i/caps'

iscsiadm: Updating transport cxgb3i
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb3i'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb3i/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb3i'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb3i/caps'

iscsiadm: Updating transport cxgb4i
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb4i'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb4i/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/cxgb4i'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/cxgb4i/caps'

iscsiadm: Updating transport iser
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/iser/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/iser/caps'

iscsiadm: Updating transport tcp
iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/tcp/handle'

iscsiadm: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps'

iscsiadm: sysfs_attr_get_value: found in cache '/class/iscsi_transport/tcp/caps'

iscsiadm: Could not load transport .Dropping interface eth1. <================= ERROR

[root:localhost2 ~]#

++++++++++++



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top