RickEpnet
asked on
Linux and iSCSI Initiator
I am new to Linux. I have setup a Ubuntu server. Then I installed the iSCSI. Then I ran this command
sudo iscsiadm -m discovery -t st -p 10.100.0.98
This found the iSCSI no problem. Then I ran this command.
sudo iscsiadm -m node --login
I then get this error.
iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)
I am not sure where to put the login credentials.
Please help... Thanks!!
sudo iscsiadm -m discovery -t st -p 10.100.0.98
This found the iSCSI no problem. Then I ran this command.
sudo iscsiadm -m node --login
I then get this error.
iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)
I am not sure where to put the login credentials.
Please help... Thanks!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you running it as root?
ASKER
OK I did it now with sudo and I get this
no records found!
no records found!
ok, did you run all previous commands with CHAP, node.session.auth.authmeth od etc sucessfully ?
ASKER
There is no CHAP on the target do you still have to use it. How does that work?
From your previous inputs I thought you are trying to login, so to login to the target usually CHAP mechanism is used.
ASKER
Yes there is no CHAP at all being used. So what do you think the issue is?
ASKER
iscsiadm -m node --targetname "iqn.2010-09.com.phdvirtua
I got this
Could not lock discovery DB: /run/lock/iscsi/lock.write