Abhayjeet Singh Grewal wrote:
I have checked the initiator, I could not see anything wrong.
These are test servers, if you could putty and see yourself it would be
really helpfull
https://61.246.5.203:446/
IP open filer: 61.246.5.203
user: root
password: cdsfiler
for racnode3
user: root
password: centos
Seems to be a netmask issue. Set netmask to 255.255.255.255 for each
node in openfiler network ACL.
[EMAIL PROTECTED] ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Openfile Model: Virtual disk Rev: 0
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: Openfile Model: Virtual disk Rev: 0
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: Openfile Model: Virtual disk Rev: 0
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: Openfile Model: Virtual disk Rev: 0
Type: Direct-Access ANSI SCSI revision: 04
R,
On 10/17/07, Rafiu Fakunle <[EMAIL PROTECTED]> wrote:
Abhayjeet Singh Grewal wrote:
[EMAIL PROTECTED] iet]# cat session
tid:5 name:iqn.2006-01.com.openfiler:rac1.asm4
tid:4 name:iqn.2006-01.com.openfiler:rac1.asm3
tid:3 name:iqn.2006-01.com.openfiler:rac1.asm2
tid:2 name:iqn.2006-01.com.openfiler:rac1.asm1
tid:1 name:iqn.2006-01.com.openfiler:rac1.crs
[EMAIL PROTECTED] iet]# cat volume
tid:5 name:iqn.2006-01.com.openfiler:rac1.asm4
lun:0 state:0 iotype:fileio iomode:wt path:/dev/rac1/asm4
tid:4 name:iqn.2006-01.com.openfiler:rac1.asm3
lun:0 state:0 iotype:fileio iomode:wt path:/dev/rac1/asm3
tid:3 name:iqn.2006-01.com.openfiler:rac1.asm2
lun:0 state:0 iotype:fileio iomode:wt path:/dev/rac1/asm2
tid:2 name:iqn.2006-01.com.openfiler:rac1.asm1
lun:0 state:0 iotype:fileio iomode:wt path:/dev/rac1/asm1
tid:1 name:iqn.2006-01.com.openfiler:rac1.crs
lun:0 state:0 iotype:fileio iomode:wt path:/dev/rac1/crs
All's well on the Openfiler target front. Check your initiator settings.
R.
On 10/17/07, Rafiu Fakunle <[EMAIL PROTECTED]> wrote:
Abhayjeet Singh Grewal wrote:
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.
Pls show output of following commands:
1) cat /proc/net/iet/sessions
2) cat /proc/net/iet/volumes
R.
----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
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users