PDA

View Full Version : iSCSI Multiple Servers same mount problems


opey9213
2006-11-26, 08:37 PM CST
Hello,

First of all, sorry if I posted this into the wrong forum - seemed like this problem may travel across multiple forum topics?

Anyway - here is my problem (first, the environment):

Environment:

Dell EMC AX150i SAN (iSCSI SAN)
4 Dell Servers w/ GIGE Ports connected to SAN
Servers are running FC6, and using the iscsi-initiator-utils

my iscsid.conf file:

DiscoveryAddress = <target ip>
DiscoveryAddress = <target ip>
HeaderDigest = never
DataDigest = never
ConnFailTimeout = 180
ImmediateData = yes

Scenario:

There are 3 different mount points on the SAN. Server A will need read access to all mount points. Server B,C,D each have their own mount and have Read/Write access to them.

The Problem:

I am able to mount all points on all servers without any issue. Server B,C and D have no issue writing to the mount. The problem is that Server A will not see any of the changes that Servers B,C and D make (if I unmount and then remount the filesystem the changes show up, for obvious reasons this is not acceptable).

Each of the file systems have been created as ext2. When mounting the file systems I use the "-o _netdev" option. On Server A I use "-o _netdev -o ro" options. I am at my wits end, I have done several google searches and have not come up with much. I know there is the GFS option, but I didn't think that this would be necessary since multiple servers will not be writing to the same file system, but I'm not 100% sure.

Any help that anyone can offer would be greatly appreciated. If you need anymore information, please let me know.

Thanks in advance for the help.

jean1971
2007-01-17, 07:59 AM CST
I 'm not sure to be able to help you
but can you please help me ?

i Have ax150i san (double processor) too but i can't connect with my fc6
when I run fdisk -l it hangs up and I have to reboot !!!!!
it says

Jan 17 12:32:32 sys-ced-05 kernel: scsi0 : iSCSI Initiator over TCP/IP
Jan 17 12:33:43 sys-ced-05 kernel: scsi1 : iSCSI Initiator over TCP/IP
Jan 17 12:34:00 sys-ced-05 kernel: scsi2 : iSCSI Initiator over TCP/IP
Jan 17 12:34:00 sys-ced-05 kernel: Vendor: DGC Model: RAID 5 Rev: 0220
Jan 17 12:34:00 sys-ced-05 kernel: Type: Direct-Access ANSI SCSI revision: 04
Jan 17 12:34:00 sys-ced-05 kernel: scsi 2:0:0:0: Attached scsi generic sg0 type 0
Jan 17 12:34:00 sys-ced-05 kernel: SCSI device sda: 2097152 512-byte hdwr sectors (1074 MB)
Jan 17 12:34:00 sys-ced-05 kernel: sda: Write Protect is off
Jan 17 12:34:00 sys-ced-05 kernel: SCSI device sda: drive cache: write through
Jan 17 12:34:00 sys-ced-05 kernel: SCSI device sda: 2097152 512-byte hdwr sectors (1074 MB)
Jan 17 12:34:00 sys-ced-05 kernel: sda: Write Protect is off
Jan 17 12:34:00 sys-ced-05 kernel: SCSI device sda: drive cache: write through
Jan 17 12:34:00 sys-ced-05 kernel: sda: sda1
Jan 17 12:34:00 sys-ced-05 kernel: sd 2:0:0:0: Attached scsi disk sda
Jan 17 12:34:30 sys-ced-05 kernel: iscsi: can not unicast skb (-111)
Jan 17 12:34:30 sys-ced-05 kernel: iscsi: can not broadcast skb (-3)
Jan 17 12:34:30 sys-ced-05 kernel: connection2:0: iscsi: detected conn error (1011)

and thi is dmesg:scsi0 : iSCSI Initiator over TCP/IP
scsi1 : iSCSI Initiator over TCP/IP
scsi2 : iSCSI Initiator over TCP/IP
Vendor: DGC Model: RAID 5 Rev: 0220
Type: Direct-Access ANSI SCSI revision: 04
scsi 2:0:0:0: Attached scsi generic sg0 type 0
SCSI device sda: 2097152 512-byte hdwr sectors (1074 MB)
sda: Write Protect is off
sda: Mode Sense: 7d 00 00 08
SCSI device sda: drive cache: write through
SCSI device sda: 2097152 512-byte hdwr sectors (1074 MB)
sda: Write Protect is off
sda: Mode Sense: 7d 00 00 08
SCSI device sda: drive cache: write through
sda: sda1
sd 2:0:0:0: Attached scsi disk sda
iscsi: can not unicast skb (-111)
iscsi: can not broadcast skb (-3)
connection2:0: iscsi: detected conn error (1011)

[root@sys-ced-05 ~]# cat /proc/partitions
major minor #blocks name

3 0 40146624 hda
3 1 15358140 hda1
3 2 1052226 hda2
3 3 1052257 hda3
3 4 22683780 hda4
22 64 29316672 hdd
22 65 20482843 hdd1
8 0 1048576 sda
8 1 1044193 sda1

sda is ISCSI disk
I tried centos and windoze and tey can mount and access the disk

Please help
Gianni

zeki
2008-11-18, 06:12 PM CST
i think you can not use a single iscsi mount for multiple machines unless you keep refreshing the connections or use a san clustering file system.
another alternative is to use a nfs/smb/cifs mount instead.