[stgt] need some clarification regarding STGT

Chandra Kumar chandra.kumar at hcl.com
Wed Dec 21 12:31:39 CET 2011


Hi,

I am unable to discover target from initiator, the environment detail and command executed as follows.

Targer(10.112.32.56):
OS- SUSE-11 SP1 [output of uname -a " 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux" ]
Stgt - tgt-0.9.0-1.14.x86_64.rpm

Initiator:
OS- Red Hat Enterprise Linux Server release 5 [ output of uname -a " 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux]
Initiator- open-iscsi-2.0-869.1

Target(10.112.32.56):
# /etc/init.d/tgtd start
Starting SCSI target service: (null): fcoe_init(214) (null)
(null): fcoe_create_interface(171) no interface specified.
# netstat -apne | grep 3260
tcp        0      0 0.0.0.0:3260            0.0.0.0:*               LISTEN      0          439227     31880/tgtd
tcp        0      0 :::3260                 :::*                    LISTEN      0          439228     31880/tgtd
#  tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz
#  tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
# tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/sdb1

Initiator:
# /etc/init.d/open-iscsi start
Starting iSCSI initiator service: FATAL: Error inserting ib_iser (/lib/modules/2.6.18-8.el5/kernel/drivers/infiniband/ulp/iser/ib_iser.ko): Unknown symbol in module, or unknown parameter (see dmesg)
                                                           [  OK  ]
Setting up iSCSI targets: iscsiadm: No records found!
                                                           [  OK  ]
# iscsiadm -m discovery -t sendtargets -p 10.112.32.56
iscsiadm: connection to discovery address 10.112.32.56 failed
iscsiadm: connection to discovery address 10.112.32.56 failed
iscsiadm: connection to discovery address 10.112.32.56 failed
iscsiadm: connection to discovery address 10.112.32.56 failed
iscsiadm: connection to discovery address 10.112.32.56 failed
iscsiadm: connection login retries (reopen_max) 5 exceeded

Thanks
Chandra Kumar
9999604785


::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
--
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