hi!

I have problem with iscsid - can't connect to NAS4Free iSCSI target.

There are
- OpenBSD robert.vkhk.ee 5.2 GENERIC.MP#368 amd64
- NAS4Free 9.1.0.1 - Sandstorm (revision 573)

First I do iSCSI discovery. iscsi.conf is

target "Kakstera" {
discovery
targetaddr 192.168.94.102
}

and iscsid -dv output is after doing iscsictl reload:

startup
sess_fsm[Kakstera]: INIT ev start
new connection to 192.168.94.102:3260
conn_fsm[Kakstera]: FREE ev connect
conn_fsm[Kakstera]: new state XPT_WAIT
sess_fsm[Kakstera]: new state FREE
conn_fsm[Kakstera]: XPT_WAIT ev connected
conn_fsm[Kakstera]: new state IN_LOGIN
conn_fsm[Kakstera]: IN_LOGIN ev logged in
conn_fsm[Kakstera]: new state LOGGED_IN
sess_fsm[Kakstera]: FREE ev connection logged in
sess_fsm[Kakstera]: new state LOGGED_IN
ISCSI_OP_TEXT_RESPONSE
TargetName      =>      iqn.kettakast2.san3.vkhk.ee:kakstera
TargetAddress   =>      192.168.94.102:3260,3
session[Kakstera] going down
conn_fsm[Kakstera]: LOGGED_IN ev logout
conn_fsm[Kakstera]: new state IN_LOGOUT
initiator_logout_cb: response 0, Time2Wait 0, Time2Retain 0
conn_fsm[Kakstera]: IN_LOGOUT ev logged out
conn_fsm[Kakstera]: new state FREE
sess_fsm[Kakstera]: LOGGED_IN ev session closed
sess_fsm[Kakstera]: new state DOWN

NAS4Free log is

Feb 5 07:35:24  nas4free        istgt[19450]: Login(discovery) from
iqn.1995-11.org.openbsd.iscsid:robert (192.168.94.44) on
(192.168.94.102:3260,3), ISID=80c33865c1d6, TSIH=3, CID=48994,
HeaderDigest=off, DataDigest=off
Feb 5 07:35:24  nas4free        istgt[19450]: Logout(discovery) from
iqn.1995-11.org.openbsd.iscsid:robert (192.168.94.44) on
(192.168.94.102:3260,3), ISID=80c33865c1d6, TSIH=3, CID=48994,
HeaderDigest=off, DataDigest=off

Then I change iscsi.conf to normal:

target "Kakstera" {
normal
targetaddr 192.168.94.102
targetname "iqn.kettakast2.san3.vkhk.ee:kakstera"
}

iscsid -dv command output:

startup
sess_fsm[Kakstera]: INIT ev start
new connection to 192.168.94.102:3260
conn_fsm[Kakstera]: FREE ev connect
conn_fsm[Kakstera]: new state XPT_WAIT
sess_fsm[Kakstera]: new state FREE
conn_fsm[Kakstera]: XPT_WAIT ev connected
conn_fsm[Kakstera]: new state IN_LOGIN
conn_fsm[Kakstera]: IN_LOGIN ev logged in
conn_fsm[Kakstera]: new state LOGGED_IN
sess_fsm[Kakstera]: FREE ev connection logged in
sess_fsm[Kakstera]: new state LOGGED_IN
conn_fsm[Kakstera]: LOGGED_IN ev closed
conn_fsm[Kakstera]: new state CLEANUP_WAIT
sess_fsm[Kakstera]: LOGGED_IN ev connection fail
sess_fsm[Kakstera]: new state FAILED


NAS log:
Feb 5 07:49:04  nas4free        istgt[19450]:
istgt_iscsi.c:2447:istgt_iscsi_op_login: ***ERROR*** SessionType is
empty
Feb 5 07:49:04  nas4free        istgt[19450]:
istgt_iscsi.c:2424:istgt_iscsi_op_login: ***ERROR*** InitiatorName is
empty
Feb 5 07:49:04  nas4free        istgt[19450]:
istgt_iscsi.c:3518:istgt_iscsi_op_scsi: ***ERROR*** before Full
Feature
Feb 5 07:49:04  nas4free        istgt[19450]:
istgt_iscsi.c:5053:istgt_iscsi_execute: ***ERROR*** iscsi_op_scsi()
failed
Feb 5 07:49:04  nas4free        istgt[19450]: istgt_iscsi.c:5732:worker:
***ERROR*** iscsi_execute() failed on
(iqn.1995-11.org.openbsd.iscsid:robert,i,0x80cb7a99d4c7)

Help!

With best regards

Allan

Reply via email to