DM multipath :iscsi lun shows by diff names on two server where its exported

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat DM multipath :iscsi lun shows by diff names on two server where its exported
# 1  
Old 11-03-2013
DM multipath :iscsi lun shows by diff names on two server where its exported

Hi,

I am trying to setup multipathing (using DM multipath) for a redhat cluster setup ...all setup is done but issue is :

node 1 shows the shared iscsi lun as sdc
node 2 shows the same as sdg (changes on reboots)

Due to this (i guess) i get i/o error & i can not read files created by other node. eg


Code:
[root@rh600 Packages]# cd /var/www/html/
[root@rh600 html]# ls
ls: cannot access index.html: Input/output error
index.html  lost+found  test
[root@rh600 html]#
 
[root@rh500 html]# ls -l
ls: cannot access index.html: Input/output error
total 13
-????????? ? ?    ?        ?            ? index.html
drwxrwxrwx 2 root root 12288 Nov  2 21:32 lost+found
-rw-r--r-- 1 root root     5 Nov  2 21:39 test
[root@rh500 html]#

Anyone knows work-around for this ?

Thanks in advance

Last edited by Scrutinizer; 11-03-2013 at 09:01 AM.. Reason: code tags added
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Restore of Netapp FC lun targets used as the disks for a zpool with exported zfs file systems

So, We have a Netapp storage solution. We have Sparc T4-4s running with LDOMS and client zones in the LDOMS, We are using FC for storage comms. So here's the basic setup FC luns are exported to the primary on the Sparc box. using LDM they are then exported to the LDOM using vdisk. at the... (4 Replies)
Discussion started by: os2mac
4 Replies

2. Solaris

Make an iSCSI LUN clone bootable

trying to do this for a DR situation. I've cloned an iSCSI LUN to another server. I've created an LDOM on it. set the LDOM to auto-boot=false and exported the LUN as a raw disk to the new LDOM. After starting the LDOM and telnetting to it. I can get to the OK prompt and see the disk but when I try... (2 Replies)
Discussion started by: os2mac
2 Replies

3. AIX

Netapp iscsi lun

Hi, I have aix 6.1 box. I want to configure iscsi luns from netapp storage. I tried in google but not getting proper solution for that. i m not getting the proper iqn name. Please share me the steps to complete this requirements. Thanks in advance. (1 Reply)
Discussion started by: sunnybee
1 Replies

4. UNIX for Dummies Questions & Answers

Diff shows only the same content

Hi All, Sorry this might be real dummy question. I have been searching from internet and diff manual, but not found any answer . By using diff command, how do we display the same content only (from both 2 files in 2 coloumns). Here is the diff -y output http://i39.tinypic.com/fa8snr.jpg ... (2 Replies)
Discussion started by: wilsonSurya
2 Replies

5. AIX

Any tips to grow iSCSI LUN

Hi, I have an iSCSI LUN attached to an AIX 5.3 box. It's initial size is 250GB, I just grew it on the SAN to 300GB, but AIX is not seeing the change. Right now I have some processes going and it's eating up the disk space. I need to grow this lun by atleast 30GB otherwise the process with bomb... (5 Replies)
Discussion started by: bbbngowc
5 Replies

6. AIX

exported filesystems on a NIM server

I have a filesystem that was exported sometime in the past, probably by NIM processes, but cannot be unexported now. How can I get rid of this? Any ideas? I tried rebooting and it survived it. hostname:/:$ exportfs -v /usr/lpp/bos.sysmgt/nim/methods... (2 Replies)
Discussion started by: kah00na
2 Replies

7. Solaris

Solaris10 -> iscsi -> equiliogic lun

We "lose" the iscsi device after a reboot - i.e., it appears in /dev/rdsk and /dev/dsk but format cannot find it. Obviously, it won't mount either. This happens for two separately defined luns. We must be missing a step in iscsiadm. The luns are defined as targets, we can see them in... (2 Replies)
Discussion started by: jim mcnamara
2 Replies

8. Solaris

Set up iscsi LUN on solaris 9?

Hi, I need to set up iscsi LUN on Solaris 9. I've done it on Solaris 10 with iscsiadm. How do you do it on Solaris 9 though? Currently using Solaris 9 update 2. Your help is appreciated. Thanks, Sparcman (6 Replies)
Discussion started by: sparcman
6 Replies

9. UNIX for Dummies Questions & Answers

Copying dir (and sub dir) file names from ftp server to txt file in diff server

Hey all, i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file. any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies

10. AIX

Help growing iscsi lun

Hi, I have an iSCSI LUN of 200GB. I increased it to 250GB and when I try to increase the size of the vg, I'm getting an error that none of the volumes have increased in size. How can I get the OS to see the additional 50GB? ---------- Post updated at 03:22 PM ---------- Previous update... (9 Replies)
Discussion started by: bbbngowc
9 Replies
Login or Register to Ask a Question
ISCSI-TARGET(8) 					    BSD System Manager's Manual 					   ISCSI-TARGET(8)

NAME
iscsi-target -- service remote iSCSI requests SYNOPSIS
iscsi-target [-46DV] [-b block length] [-f configuration file] [-p port number] [-s maximum number of sessions] [-t target name] [-v verbose arg] DESCRIPTION
iscsi-target is the server for iSCSI requests from iSCSI initiators. iscsi-target listens for discovery and login requests on the required port, and responds to those requests appropriately. Options and operands available for iscsi-target: -4 iscsi-target will listen for IPv4 connections, and respond back using IPv4. This is the default address family. -6 iscsi-target will listen for IPv6 connections, and respond back using IPv6. -b blocksize Specify the underlying block size for iSCSI storage which will be served. The possible sizes are: 512, 1024, 2048, and 4096 bytes, with the default being 512 bytes. -D When this option is specified, iscsi-target will not detach itself from the controlling tty, and will not become a daemon. This can be useful for debugging purposes. -f configfile Use the named file as the configuration file. The default file can be found in /etc/iscsi/targets. See targets(5) for more informa- tion. -p port number Use the port number provided as the argument as the port on which to listen for iSCSI service requests from initiators. -s maximum number of sessions Allow the maximum number of sessions to be initiated when connecting to the target. -t filename The target name (as it appears to the iSCSI initiator) can be specified using this flag. -V iscsi-target will print the utility name and version number, and the address for bug reports, and then exit. -v argument The amount of information shown can be varied by using this command. Possible values of argument are net to show network-related information, iscsi to show iSCSI protocol-related information, scsi to show SCSI protocol information, and all to show information from all of the above arguments. FILES
/etc/iscsi/targets the list of exported storage /var/run/iscsi-target.pid the PID of the currently running iscsi-target SEE ALSO
targets(5) HISTORY
The iscsi-target utility first appeared in NetBSD 4.0. BSD
May 27, 2006 BSD