Conecting to a starwind target from unh in linux

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Locked
Guest

Thu Jul 22, 2004 4:39 pm

Hello, I'm trying to connect to a starwind target from unh in linux, and I get a failed login. I'm not using CHAP and I set it with the following command shell script:

IP=192.168.1.1
TARGET=iqn.2003-06.com.rocketdivision.starwind:maino.cddvd.d
./iscsi_manage init restore host=1
./iscsi_manage init set InitiatorName=`uname -n` host=1
./iscsi_manage init set TargetName=$TARGET host=1
./iscsi_manage init set SessionType=Normal host=1
./iscsi_config up ip=$IP port=3260 host=1 lun=1

any idea?
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Fri Jul 23, 2004 12:12 pm

Hello,
Anonymous wrote:./iscsi_config up ip=$IP port=3260 host=1 lun=1
Change this line to:

./iscsi_config up ip=$IP port=3260 host=1 lun=0

Also I passed "host=" and "target=" parameters to each "iscsi_manage init" call. But I do not known if it is required indeed.
Best regards,
Alexey.
Locked