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
MPATHCONF(8)						   Linux Administrator's Manual 					      MPATHCONF(8)

NAME
mpathconf - A tool for configuring device-mapper-multipath SYNOPSIS
mpathconf [commands] [options] DESCRIPTION
mpathconf is a utility that creates or modifies /etc/multipath.conf. It can enable or disable multipathing and configure some common options. mpathconf can also load the dm_multipath module, start and stop the multipathd daemon, and configure the multipathd service to start automatically or not. If mpathconf is called with no commands, it will display the current configuration. The default options for mpathconf are --with_module The --with_multipathd option is not set by default. Enabling multipathing will load the dm_multipath module but it will not immediately start it. This is so that users can manually edit their config file if necessary, before starting multipathd. If /etc/multipath.conf already exists, mpathconf will edit it. If it does not exist, mpathconf will use /usr/share/doc/device-mapper-multi- path-0.4.9/multipath.conf as the starting file. This file has user_friendly_names set. If this file does not exist, mpathconf will create /etc/multipath.conf from scratch. For most users, this means that user_friendly_names will be set by default, unless they use the --user_friendly_names n command. COMMANDS
--enable Removes any line that blacklists all device nodes from the /etc/multipath.conf blacklist section. --disable Adds a line that blacklists all device nodes to the /etc/multipath.conf blacklist section. If no blacklist section exists, it will create one. --user_friendly_name { y | n } If set to y, this adds the line user_friendly_names yes to the /etc/multipath.conf defaults section. If set to n, this removes the line, if present. This command can be used along with any other command. --find_multipaths { y | n } If set to y, this adds the line find_multipaths yes to the /etc/multipath.conf defaults section. If set to n, this removes the line, if present. This command can be used aldong with any other command. OPTIONS
--with_module { y | n } If set to y, this runs modprobe dm_multipath to install the multipath modules. This option only works with the --enable command. This option is set to y by default. --with_multipathd { y | n } If set to y, this runs service multipathd start to start the multipathd daemon on --enable, service multipathd stop to stop the mul- tipathd daemon on --disable, and service multipathd reload to reconfigure multipathd on --user_frindly_names and --find_multipaths. This option is set to n by default. FILES
/etc/multipath.conf SEE ALSO
multipath.conf(5), modprobe(8), multipath(8), multipathd(8), service(8), AUTHOR
Benjamin Marzinski <bmarzins@redhat.com> June 2010 MPATHCONF(8)