Hi guys,

I've been trying to figure this out for days now and still I'm not
sure wth happens. I configured the target with openfiler, all good,
but when trying to connect to with my CentOS v5.4 machine I just
cannot get to it. The oddest thing is when I try the discovery method
I get no errors at all:

[r...@xen01 ~]# iscsiadm -m discovery -t sendtargets -p
192.168.1.10:3260 -d10
iscsiadm: Max file limits 1024 1024

iscsiadm: updating defaults from '/etc/iscsi/iscsid.conf'
iscsiadm: updated
'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', '32768' =>
'32768'
iscsiadm: updated 'node.startup', 'manual' => 'automatic'
iscsiadm: updated 'node.session.auth.authmethod', 'None' => 'CHAP'
iscsiadm: updated 'node.session.timeo.replacement_timeout', '120' =>
'120'
iscsiadm: updated 'node.conn[0].timeo.login_timeout', '30' => '15'
iscsiadm: updated 'node.conn[0].timeo.logout_timeout', '15' => '15'
iscsiadm: updated 'node.conn[0].timeo.noop_out_interval', '5' => '5'
iscsiadm: updated 'node.conn[0].timeo.noop_out_timeout', '5' => '5'
iscsiadm: updated 'node.session.err_timeo.abort_timeout', '15' => '15'
iscsiadm: updated 'node.session.err_timeo.lu_reset_timeout', '30' =>
'20'
iscsiadm: updated 'node.session.initial_login_retry_max', '4' => '8'
iscsiadm: updated 'node.session.cmds_max', '128' => '128'
iscsiadm: updated 'node.session.queue_depth', '32' => '32'
iscsiadm: updated 'node.session.iscsi.InitialR2T', 'No' => 'No'
iscsiadm: updated 'node.session.iscsi.ImmediateData', 'Yes' => 'Yes'
iscsiadm: updated 'node.session.iscsi.FirstBurstLength', '262144' =>
'262144'
iscsiadm: updated 'node.session.iscsi.MaxBurstLength', '16776192' =>
'16776192'
iscsiadm: updated 'node.conn[0].iscsi.MaxRecvDataSegmentLength',
'262144' => '262144'
iscsiadm: updated 'node.conn[0].iscsi.HeaderDigest', 'None' => 'None'
iscsiadm: updated 'node.session.iscsi.FastAbort', 'Yes' => 'Yes'
iscsiadm: starting sendtargets discovery, address 192.168.1.10:3260,
iscsiadm: sendtargets discovery to 192.168.1.10:3260 using isid
0x00023d000000
iscsiadm: discovery timeouts: login 15, reopen_cnt 5, auth 45.
iscsiadm: connecting to 192.168.1.10:3260
iscsiadm: connected local port 57141 to 192.168.1.10:3260
iscsiadm: connected to discovery address 192.168.1.10
iscsiadm: discovery session to 192.168.1.10:3260 starting iSCSI login
on fd 3
iscsiadm: sending login PDU with current stage 1, next stage 3,
transit 0x80, isid 0x00023d000000 exp_statsn 0
iscsiadm: >    InitiatorName=iqn.1994-05.com.redhat:d0d2463f695
iscsiadm: >    InitiatorAlias=localhost.localdomain
iscsiadm: >    SessionType=Discovery
iscsiadm: >    HeaderDigest=None
iscsiadm: >    DataDigest=None
iscsiadm: >    DefaultTime2Wait=0
iscsiadm: >    DefaultTime2Retain=0
iscsiadm: >    IFMarker=No
iscsiadm: >    OFMarker=No
iscsiadm: >    ErrorRecoveryLevel=0
iscsiadm: >    MaxRecvDataSegmentLength=32768
iscsiadm: wrote 48 bytes of PDU header
iscsiadm: wrote 260 bytes of PDU data
iscsiadm: read 48 bytes of PDU header
iscsiadm: read 48 PDU header bytes, opcode 0x23, dlength 142, data
0x2d14670, max 32768
iscsiadm: read 142 bytes of PDU data
iscsiadm: read 2 pad bytes
iscsiadm: finished reading login PDU, 48 hdr, 0 ah, 142 data, 2 pad
iscsiadm: login current stage 1, next stage 3, transit 0x80
iscsiadm: >    TargetPortalGroupTag=1
iscsiadm: >    HeaderDigest=None
iscsiadm: >    DataDigest=None
iscsiadm: >    DefaultTime2Wait=2
iscsiadm: >    DefaultTime2Retain=0
iscsiadm: >    IFMarker=No
iscsiadm: >    OFMarker=No
iscsiadm: >    ErrorRecoveryLevel=0
iscsiadm: login response status 0000
iscsiadm: discovery login success to 192.168.1.10
iscsiadm: sending text pdu with CmdSN 1, exp_statsn 1
iscsiadm: >    SendTargets=All
iscsiadm: wrote 48 bytes of PDU header
iscsiadm: wrote 16 bytes of PDU data
iscsiadm: discovery process  192.168.1.10:3260 polling fd 3, timeout
in 30.000000 seconds
iscsiadm: discovery process to 192.168.1.10:3260 returned from poll,
rc 1
iscsiadm: read 48 bytes of PDU header
iscsiadm: read 48 PDU header bytes, opcode 0x24, dlength 0, data
0x2d14670, max 32768
iscsiadm: discovery session to 192.168.1.10:3260 received text
response, 0 data bytes, ttt 0xffffffff, final 0x80
iscsiadm: discovery process to 192.168.1.10:3260 exiting
iscsiadm: Looking for config file /var/lib/iscsi/send_targets/
192.168.1.10,3260

iscsiadm: Looking for config file /var/lib/iscsi/send_targets/
192.168.1.10,3260 config st_config.
iscsiadm: updated 'discovery.startup', 'manual' => 'manual'
iscsiadm: updated 'discovery.type', 'sendtargets' => 'sendtargets'
iscsiadm: updated 'discovery.sendtargets.address', '' =>
'192.168.1.10'
iscsiadm: updated 'discovery.sendtargets.port', '0' => '3260'
iscsiadm: updated 'discovery.sendtargets.auth.authmethod', 'None' =>
'None'
iscsiadm: updated 'discovery.sendtargets.timeo.login_timeout', '15' =>
'15'
iscsiadm: updated 'discovery.sendtargets.reopen_max', '5' => '5'
iscsiadm: updated 'discovery.sendtargets.timeo.auth_timeout', '45' =>
'45'
iscsiadm: updated 'discovery.sendtargets.timeo.active_timeout', '30'
=> '30'
iscsiadm: updated
'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', '32768' =>
'32768'
iscsiadm: overwriting existing record
iscsiadm: Looking for config file /var/lib/iscsi/send_targets/
192.168.1.10,3260

[r...@xen01 ~]# iscsiadm -m node
iscsiadm: no records found!





What am I doing wrong? The config file for the host:

[r...@xen01 ~]# cat  /var/lib/iscsi/send_targets/192.168.1.10,3260/
st_config
# BEGIN RECORD 2.0-871
discovery.startup = manual
discovery.type = sendtargets
discovery.sendtargets.address = 192.168.1.10
discovery.sendtargets.port = 3260
discovery.sendtargets.auth.authmethod = None
discovery.sendtargets.timeo.login_timeout = 15
discovery.sendtargets.reopen_max = 5
discovery.sendtargets.timeo.auth_timeout = 45
discovery.sendtargets.timeo.active_timeout = 30
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768




Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to