Thanks for looking at it Mikey. Here is the output of the command that
you have mentioned. Please let me know what should be done further.
[root@arvindlinux ~]# iscsiadm -m discovery -t sendtargets -p
openfiler -d 8
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.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.initial_login_retry_max', '4' => '4'
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',
'131072' => '131072'
iscsiadm: starting sendtargets discovery, address openfiler:3260,
iscsiadm: sendtargets discovery to openfiler:3260 using isid
0x00023d000000
iscsiadm: discovery timeouts: login 15, reopen_cnt 5, auth 45.
iscsiadm: connecting to
192.168.10.4:3260
iscsiadm: connected local port 16734 to
192.168.10.4:3260
iscsiadm: connected to discovery address 192.168.10.4
iscsiadm: discovery session to openfiler: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:5ab50b16d8d
iscsiadm: > InitiatorAlias=
arvindlinux.home.com
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
0x939a430, 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.10.4
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 openfiler:3260 polling fd 3, timeout in
30.000000 seconds
iscsiadm: discovery process to openfiler:3260 returned from poll, rc 1
iscsiadm: read 48 bytes of PDU header
iscsiadm: read 48 PDU header bytes, opcode 0x24, dlength 0, data
0x939a430, max 32768
iscsiadm: discovery session to openfiler:3260 received text response,
0 data bytes, ttt 0xffffffff, final 0x80
iscsiadm: Removing config file /var/lib/iscsi/send_targets/openfiler,
3260
iscsiadm: Looking for config file /var/lib/iscsi/send_targets/
openfiler,3260
iscsiadm: Looking for config file /var/lib/iscsi/send_targets/
openfiler,3260 config st_config.
iscsiadm: Could not stat /var/lib/iscsi/send_targets/openfiler,3260
err 2.
iscsiadm: Could not open /var/lib/iscsi/send_targets/openfiler,3260
err 2
iscsiadm: adding new DB record
iscsiadm: Looking for config file /var/lib/iscsi/send_targets/
openfiler,3260
iscsiadm: discovery process to openfiler:3260 exiting
[root@arvindlinux ~]#
On Mar 20, 11:47 pm, Mike Christie <
micha...@cs.wisc.edu> wrote:
> On 03/17/2012 03:55 PM, arvind ks wrote:
>
>
>
> > Hi Guys,
> > I have created a Redhat 5 VM and a Openfiler VM in a VMTeam. I have
> > given them 2 ethernet cards. One as a lan segment and other as a
> > bridged. Both VMs are able to communicate. I have assigned these IPS.
>
> > Open Filer:: 192.168.10.4 HostName: "openfiler"
> > RedHat 5::192.168.10.1 Hostname: "arvindlinux"
>
> > Both are able to communicate with each other and i am able to SSH from
> > Redhat to Openfiler and from Openfiler to Redhat. I have followed the
> > link below for sharing a volume from Openfiler to the Redhat host.
> >
http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCS...