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
vxdmp(7)						 Miscellaneous Information Manual						  vxdmp(7)

NAME
vxdmp - Veritas Volume Manager multipathing disk devices DESCRIPTION
Multipathed disk devices in Veritas Volume Manager (VxVM) represent virtual devices with one or more physical access paths to a physical disk. The Multipathing feature provides disk access reliability by dynamically switching to another physical path if there is a path fail- ure. Every disk that is visible to VxVM is represented by a multipath device node in the /dev/vx/dmp and /dev/vx/rdmp directories for block type and character type interfaces. A simple disk is represented by a multipath device having one physical path, whereas a disk that is part of a multiported disk array is represented by a multipath device with many device access paths depending upon the type of the disk array. VxVM uses standard disk device naming conventions to name multipath devices. For example, if there is a disk device with two physical access paths such as c1t0d0 and c2t0d0, the multipathing device node for this particular disk is created under /dev/vx/dmp and /dev/vx/rdmp as c1t0d0 or c2t0d0. To provide multipathing, VxVM maintains an internal database of all the multipathed devices detected by the system and their respective paths. The database is created at system boot time. When disks are added or removed from the system, VxVM provides support to reconfigure the multipath device database to reflect new states of the hardware, while the system is online. To reconfigure the DMP database, run ioscan followed by insf, and then invoke vxdctl enable (see vxdctl(1M)). The various access paths to a multipathed device can be seen by using a vxdisk command (see vxdisk(1M)). These commands open the multi- pathing configuration device /dev/vx/dmpconfig to obtain the required information about the various paths to a multipathed device and their states. VxVM also provides the facility to enable or disable a disk controller. This feature can be used to stop all I/Os through a particular con- troller to perform maintenance operations on it. Use the vxdmpadm command to do this and also perform other operations on the multipath device database. VxVM can provide notification about events that occur in the DMP database due to a change in hardware. See the vxnotify(1M) man page for more information. VxVM is capable of multipathing both Active/Active and Active/Passive disk arrays. FILES
/dev/vx/dmp Multipathing block devices. /dev/vx/rdmp Multipathing character devices. SEE ALSO
ioctl(2), vxdctl(1M), vxdisk(1M), vxdmpadm(1M), vxnotify(1M) VxVM 5.0.31.1 24 Mar 2008 vxdmp(7)