LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-28-2018, 08:03 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 158

Rep: Reputation: 15
Unable to connect to iSCSI Target


I'm trying to connect to an iSCSI Target on a Synology DiskStation. I've bene able to discover the iSCSI Target but unable to connect.

Below is the command I use to connect and the results:

[louis@lenovo-p50 Downloads]$ sudo iscsiadm -m node --targetname "iqn.2018-09-24.com.synology:CSCD-NAS-1.CENTOS.f82f2eaf47" --portal "123.456.7.89:3260.1" --login
[sudo] password for louis:
Logging in to [iface: default, target: iqn.2018-09-24.com.synology:CSCD-NAS-1.CENTOS.f82f2eaf47, portal: 123.456.7.89,3260] (multiple)
iscsiadm: Could not login to [iface: default, target: iqn.2018-09-24.com.synology:CSCD-NAS-1.CENTOS.f82f2eaf47, portal: 123.456.7.89,3260].
iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)
iscsiadm: Could not log into all portals

I have CHAP disabled on the target and commented out in my /etc/iscsi/iscsid.conf file.

My Client/Initiator is CENTOS 7.

Thanks
 
Old 09-29-2018, 01:15 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,213

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The error seems to say that the target wants the initiator to authenticate. So, perhaps CHAP is not disabled after all. Is there a log on the diskstation that might explain its behavior?
 
Old 12-05-2018, 11:38 PM   #3
bentech4u
Member
 
Registered: Feb 2009
Posts: 36

Rep: Reputation: 0
HI

what is the content in
Code:
/etc/iscsi/initiatorname.iscsi
check this also: http://blog.bentgeorge.com/?p=232

Last edited by bentech4u; 12-05-2018 at 11:39 PM. Reason: updating
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iSCSI target configuration help usao CentOS 9 08-31-2014 06:53 PM
Arch Linux ISCSI Target on RPI, "Unable to locate key" VipX1 Linux - Server 2 01-04-2014 07:51 PM
Unable to connect to NetApp SAN using RHEL 4 and software iSCSI Initiator saldon Linux - Server 1 07-13-2008 05:32 AM
Unable to connect to NetApp SAN using RHEL 4 and software iSCSI Initiator saldon Linux - Desktop 3 07-11-2008 04:28 PM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 03:02 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration