Hi,
I tried everything to best of knowledge and am not able to mount iscsi
device on client. Node connects to target and show connection established
but does nothing. In my administration page of openfiler evrything is good
and status page for iscsi it show LV but under intitiator connection shows
nothing. I have given the dump of the things below.

Please help me.


----My Node Info ---

[EMAIL PROTECTED] etc]# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:19:5B:FD:14:E0
          inet addr:192.168.2.82  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::219:5bff:fefd:14e0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15928 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13635 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8249769 (7.8 MiB)  TX bytes:2492548 (2.3 MiB)
          Interrupt:209 Base address:0xc00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2917 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2917 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4077067 (3.8 MiB)  TX bytes:4077067 (3.8 MiB)


[EMAIL PROTECTED] etc]# uname -ar
Linux racnode3 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 2006 i686 i686
i386 GNU/Linux

[EMAIL PROTECTED] etc]# vi iscsi.conf
DiscoveryAddress=192.168.2.195

[EMAIL PROTECTED] etc]# service iscsi restart
Searching for iscsi-based multipath maps
Found 0 maps
Stopping iscsid:                                           [  OK  ]
Removing iscsi driver:                                     [  OK  ]
Checking iscsi config:                                     [  OK  ]
Loading iscsi driver:                                      [  OK  ]
Starting iscsid:                                           [  OK  ]

[EMAIL PROTECTED] etc]# iscsi-ls
*******************************************************************************
SFNet iSCSI Driver Version ...4:0.1.11-4(15-Jan-2007)
*******************************************************************************
[EMAIL PROTECTED] etc]#dmesg
iscsi-sfnet: Loading iscsi_sfnet version 4:0.1.11-3
iscsi-sfnet: Control device major number 254

----- My Openfiler Info -----
[EMAIL PROTECTED] etc]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:18:A2:A5:61
          inet addr:192.168.2.195  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::230:18ff:fea2:a561/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11049 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5605 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7327206 (6.9 Mb)  TX bytes:1102959 (1.0 Mb)
          Interrupt:17 Base address:0xc000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:95 errors:0 dropped:0 overruns:0 frame:0
          TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7400 (7.2 Kb)  TX bytes:7400 (7.2 Kb)

[EMAIL PROTECTED] etc]# uname -an
Linux openfiler1 2.6.19.7-0.3.smp.gcc3.4.x86.i686 #1 SMP Thu Apr 12 02:16:08
EDT 2007 i686 i686 i386 GNU/Linux

[EMAIL PROTECTED] etc]# netstat -an| grep ESTABLISHED
tcp        0      0 192.168.2.195:3260      192.168.2.82:33340
ESTABLISHED
tcp   827356      0 192.168.2.195:54729     38.100.0.20:80
ESTABLISHED
tcp        0     52 ::ffff:192.168.2.195:22 ::ffff:192.168.2.:60068ESTABLISHED

[EMAIL PROTECTED] etc]# lvscan
  ACTIVE            '/dev/rac1/crs' [2.00 GB] inherit
  ACTIVE            '/dev/rac1/asm1' [115.94 GB] inherit
  ACTIVE            '/dev/rac1/asm2' [115.94 GB] inherit
  ACTIVE            '/dev/rac1/asm3' [115.94 GB] inherit
  ACTIVE            '/dev/rac1/asm4' [115.94 GB] inherit

[EMAIL PROTECTED] etc]# vi iscsid.conf
#
# Open-iSCSI default configuration.
# Could be located at /etc/iscsid.conf or ~/.iscsid.conf
#

node.active_cnx = 1
node.startup = automatic

#node.session.auth.username = abhay
#node.session.auth.password = abhay

node.session.timeo.replacement_timeout = 0
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Wait = 0
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.MaxConnections = 0
node.cnx[0].iscsi.HeaderDigest = None
node.cnx[0].iscsi.DataDigest = None
node.cnx[0].iscsi.MaxRecvDataSegmentLength = 65536
#discovery.sendtargets.auth.authmethod = CHAP
#discovery.sendtargets.auth.username = dima
#discovery.sendtargets.auth.password = aloha

[EMAIL PROTECTED] etc]# vi initiators.allow
iqn.2006-01.com.openfiler:rac1.crs 192.168.2.26/24, 192.168.2.72/24,
192.168.2.82/24
iqn.2006-01.com.openfiler:rac1.asm1 192.168.2.26/24, 192.168.2.72/24,
192.168.2.82/24
iqn.2006-01.com.openfiler:rac1.asm2 192.168.2.26/24, 192.168.2.72/24,
192.168.2.82/24
iqn.2006-01.com.openfiler:rac1.asm3 192.168.2.26/24, 192.168.2.72/24,
192.168.2.82/24
iqn.2006-01.com.openfiler:rac1.asm4 192.168.2.26/24, 192.168.2.72/24,
192.168.2.82/24


Regards,

Abhay Grewal
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

Reply via email to