HPE EVA Storage
1755721 Members
3078 Online
108837 Solutions
New Discussion юеВ

Connecting to a MSA1510i from Linux

 
qoop
Advisor

Connecting to a MSA1510i from Linux

I want to connect my RHEL4 server to my iSCSI SAN (MSA1510i). I have installed iscsi-initiator-utils from Red Hat, but I can't get the connection established.

My log gives following information. What is the problem?

Jul 23 23:39:39 vm2 iscsi: iscsi config check succeeded
Jul 23 23:39:39 vm2 kernel: iscsi-sfnet: Loading iscsi_sfnet version 4:0.1.11-2
Jul 23 23:39:39 vm2 kernel: iscsi-sfnet: Control device major number 253
Jul 23 23:39:39 vm2 iscsi: Loading iscsi driver: succeeded
Jul 23 23:39:44 vm2 iscsid[6068]: version 4:0.1.11 variant (12-Jan-2005)
Jul 23 23:39:44 vm2 iscsi: iscsid startup succeeded
Jul 23 23:39:44 vm2 iscsid[6072]: Connected to Discovery Address 10.0.1.2
Jul 23 23:39:44 vm2 kernel: iscsi-sfnet:host20: Login rejected: initiator error (02/00), non-retryable, giving up
Jul 23 23:39:44 vm2 kernel: iscsi-sfnet:host20: Session giving up
Jul 23 23:39:44 vm2 kernel: iscsi-sfnet:host21: iscsi_recvmsg() failed with rc -104: Connection reset by peer
Jul 23 23:39:44 vm2 kernel: iscsi-sfnet:host21: Login I/O error, failed to receive a PDU
Jul 23 23:39:44 vm2 kernel: iscsi-sfnet:host21: Waiting 1 seconds before next login attempt
Jul 23 23:39:54 vm2 kernel: iscsi-sfnet:host21: Login rejected: target error (03/02)
23 REPLIES 23
Basil Vizgin
Honored Contributor

Re: Connecting to a MSA1510i from Linux

Officially MSA1510i supports Microsoft Initiator only.
qoop
Advisor

Re: Connecting to a MSA1510i from Linux

I know, but shouldn't it be possible to connect anyway?

iSCSI is an open standard.
raadek
Honored Contributor

Re: Connecting to a MSA1510i from Linux

I agree with 'open', but not essentially 'standard'.

With iSCSI interoperability is still rather a question mark & in every case a proof of concept is required, rather than rock-solid certainty.

Rgds.
Don't panic! [THGTTG]
qoop
Advisor

Re: Connecting to a MSA1510i from Linux

But does anyone know if the MSA1510i can be used with Linux or not?

When will HP officially support Linux for the MSA150i?
Allan D'Souza
Regular Advisor

Re: Connecting to a MSA1510i from Linux

What is your iscsi.conf file look like?
qoop
Advisor

Re: Connecting to a MSA1510i from Linux

I have tried many configurations. But I can give you an example. Can you find any errors?

DiscoveryAddress=10.0.1.2:3260
IncomingUsername=iqn.1986-03.com.hp.storage.msa1510i.san.target2
IncomingPassword=CHAPPASSWORD
OutgoingUsername=iqn.1987-05.com.cisco:01.627abeb58d20
OutgoingPassword=CHAPPASSWORD

TargetName=iqn.1986-03.com.hp.storage.msa1510i.san.target2

HeaderDigest=always
DataDigest=always
Enabled=yes
ConnFailTimeout=15
Continuous=yes
Allan D'Souza
Regular Advisor

Re: Connecting to a MSA1510i from Linux

Try without digest being enabled. The 1510i supports digests in hardware. In this case it looks like the software initiator is not handling digests correctly.
qoop
Advisor

Re: Connecting to a MSA1510i from Linux

It doesn't solve the problem. I'm now get following log messages.

Jul 28 23:28:45 vm2 iscsi: iscsi config check succeeded
Jul 28 23:28:45 vm2 kernel: iscsi-sfnet: Loading iscsi_sfnet version 4:0.1.11-2
Jul 28 23:28:45 vm2 kernel: iscsi-sfnet: Control device major number 253
Jul 28 23:28:45 vm2 iscsi: Loading iscsi driver: succeeded
Jul 28 23:28:50 vm2 iscsid[13354]: version 4:0.1.11 variant (12-Jan-2005)
Jul 28 23:28:50 vm2 iscsi: iscsid startup succeeded
Jul 28 23:28:50 vm2 iscsid[13358]: Connected to Discovery Address 10.0.1.2
Jul 28 23:28:50 vm2 kernel: iscsi-sfnet:host44: Login rejected: target error (03/02)
Jul 28 23:28:50 vm2 kernel: iscsi-sfnet:host44: Waiting 1 seconds before next login attempt
Jul 28 23:29:00 vm2 kernel: iscsi-sfnet:host44: Login rejected: target error (03/02)
Jul 28 23:29:00 vm2 kernel: iscsi-sfnet:host44: Waiting 1 seconds before next login attempt
Jul 28 23:29:00 vm2 kernel: iscsi-sfnet:host45: iscsi_recvmsg() failed with rc -104: Connection reset by peer
Jul 28 23:29:00 vm2 kernel: iscsi-sfnet:host45: Login I/O error, failed to receive a PDU
Jul 28 23:29:00 vm2 kernel: iscsi-sfnet:host45: Waiting 1 seconds before next login attempt
Allan D'Souza
Regular Advisor

Re: Connecting to a MSA1510i from Linux

Can you try without CHAP? Seems like there is an issue with using CHAP.