How to avoid seeing various paths to just one LUN?


 
Thread Tools Search this Thread
Operating Systems Solaris How to avoid seeing various paths to just one LUN?
# 1  
Old 03-15-2016
How to avoid seeing various paths to just one LUN?

Hi

I have a server running solaris 10 in which the NetAppadmin has just presented one LUN of 200Gb, but when running:
Code:
bash-3.2# format
Searching for disks...done

c3t500A09828DE3E799d1: configured with capacity of 199.94GB
c3t500A09829DE3E799d1: configured with capacity of 199.94GB


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 32 sec 279>
          /pci@400/pci@0/pci@1/scsi@0/sd@0,0
       1. c0t1d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 32 sec 279>
          /pci@400/pci@0/pci@1/scsi@0/sd@1,0
       2. c3t500A09828DE3E799d1 <NETAPP-LUN-8030 cyl 6398 alt 2 hd 16 sec 4096>
          /pci@500/pci@0/pci@9/SUNW,emlxs@0/fp@0,0/ssd@w500a09828de3e799,1
       3. c3t500A09829DE3E799d1 <NETAPP-LUN-8030 cyl 6398 alt 2 hd 16 sec 4096>
          /pci@500/pci@0/pci@9/SUNW,emlxs@0/fp@0,0/ssd@w500a09829de3e799,1
Specify disk (enter its number): ^D
bash-3.2#

I see more than one path to the same LUN. How can I avoid this?
# 2  
Old 03-15-2016
I do not think that is possible without disabling a path, with that you lose redundancy.
However if there are many disks and you want to know which disks to be used, get the UUID/Serial
Code:
luxadm display /dev/rdsk/c3t500A09828DE3E799d1s2

number for the disk and confirm with the serial number provided on the SAN side.
# 3  
Old 03-16-2016
You will need to active the solaris multipath (mpxio) using stmsboot command.
Code:
stmsboot -e

One can choose only fp for multipath to manage only FC devices and not other.
Code:
stmsboot -D fp -e

Or only iscsi etc.

After the reboot, you will see ONE device per lun presented, and using luxadm/mpathadm you can display various paths and details for the lun.

Hope that helps
Regrads
Peasant.
This User Gave Thanks to Peasant For This Post:
# 4  
Old 03-16-2016
At the moment I see 26 paths to 13 luns:
Code:
bash-3.2# format
Searching for disks...done

c3t500A09828DE3E799d2: configured with capacity of 199.94GB
c3t500A09828DE3E799d3: configured with capacity of 199.94GB
c3t500A09828DE3E799d4: configured with capacity of 199.94GB
c3t500A09828DE3E799d5: configured with capacity of 199.94GB
c3t500A09828DE3E799d6: configured with capacity of 199.94GB
c3t500A09828DE3E799d7: configured with capacity of 199.94GB
c3t500A09828DE3E799d8: configured with capacity of 199.94GB
c3t500A09828DE3E799d9: configured with capacity of 199.94GB
c3t500A09828DE3E799d10: configured with capacity of 199.94GB
c3t500A09828DE3E799d11: configured with capacity of 199.94GB
c3t500A09828DE3E799d12: configured with capacity of 199.94GB
c3t500A09828DE3E799d13: configured with capacity of 199.94GB
c3t500A09828DE3E799d14: configured with capacity of 199.94GB
c3t500A09829DE3E799d2: configured with capacity of 199.94GB
c3t500A09829DE3E799d3: configured with capacity of 199.94GB
c3t500A09829DE3E799d4: configured with capacity of 199.94GB
c3t500A09829DE3E799d5: configured with capacity of 199.94GB
c3t500A09829DE3E799d6: configured with capacity of 199.94GB
c3t500A09829DE3E799d7: configured with capacity of 199.94GB
c3t500A09829DE3E799d8: configured with capacity of 199.94GB
c3t500A09829DE3E799d9: configured with capacity of 199.94GB
c3t500A09829DE3E799d10: configured with capacity of 199.94GB
c3t500A09829DE3E799d11: configured with capacity of 199.94GB
c3t500A09829DE3E799d12: configured with capacity of 199.94GB
c3t500A09829DE3E799d13: configured with capacity of 199.94GB
c3t500A09829DE3E799d14: configured with capacity of 199.94GB

If I run the stmsboot -D fp -e

Will I see only 13 paths?
# 5  
Old 03-16-2016
Yes, if those are FC luns, you will see one lun in format output.

You will have to reboot tho.

Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
# 6  
Old 03-16-2016
Quote:
Originally Posted by fretagi
...

If I run the stmsboot -D fp -e

Will I see only 13 paths?
Maybe. Read this: https://kb-stage.netapp.com/support/...10555&actp=RSS

You may need to make changes to /kernel/drv/scsi_vhci.conf depending on a lot of factors, such as what version/update of Solaris 10 you're using.

I don't believe multipathing starts off disabled in any default Solaris 10 installation, and your LUNs were not being recognized by the scsi_vhci multipath driver.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Changing AIX LUN paths

Hello, Looking for some guidance to changing how an AIX 6.1 server sees its luns. Presently they're connected via 1GB iscsi but I want to change it to 4GB fiber channel. Anyone done this before and if so is it an easy step? I'm thinking this can be done in this order: unmount the... (5 Replies)
Discussion started by: bbbngowc
5 Replies

2. Solaris

Mpathadm showing no paths to 1 lun, others luns are fine

Hi, I've noticed that mpathadm states that one of our luns has no active paths: /dev/rdsk/c6t60000970000298700009533031324333d0s2 Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c6t60000970000298700009533031333037d0s2 ... (3 Replies)
Discussion started by: badoshi
3 Replies

3. Programming

Can't find paths.h

I wasn't sure which forum to post this in. I am trying to compile logsurfer. After I run configure and the make, I get a complaint that paths.h is not found. I see three places where there is a paths.h: /usr/include/pgsql/server/optimizer/paths.h... (3 Replies)
Discussion started by: brownwrap
3 Replies

4. What is on Your Mind?

Possible Career Paths

I've read through a couple of forum posts on Career issues but wanted to get some feedback that may be more personalized and whatnot. I am brand new to the world of UNIX and Linux and while I am finding the learning curve rather steep, I find it highly rewarding and am overall enjoying the... (2 Replies)
Discussion started by: huntreilly25
2 Replies

5. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

6. AIX

Storage paths

Have connected a non-IBM storage device to AIX host via fibre channel. If the storage is rebooted or a raid controller fails over whilst connected to the host, the paths that drop do not come back online when the ports become active again. I have tried enabling dynamic tracking and delayed_fail... (3 Replies)
Discussion started by: Storeman
3 Replies

7. UNIX for Advanced & Expert Users

Spoofing paths.

There is a program that I am trying to run on a shell account. It depends on another program, which I have also copied to the shell account. Both are in my home directory, yet the first program has a different path hardcoded into it, which I cannot use because of permissions problems. How can I... (3 Replies)
Discussion started by: fahadsadah
3 Replies

8. UNIX for Dummies Questions & Answers

create paths

Hello! If I have file like that: AAA ->bbb ->ccc ->ddd ->eee how to create full paths like: AAA->bbb AAA->ccc->ddd AAA->ccc->eee ? (I'm sorry for mistakes - english is not my native language) :) (4 Replies)
Discussion started by: alias47
4 Replies

9. UNIX for Dummies Questions & Answers

Paths update

After unpacking a solaris 2.6 package with success, I need to update the paths so I can "see"the new software. The manual shows me what the path should be but I don't have a clue on how to change that. Asking a stupid question makes me look stupid 30 sec. Not asking makes me stupid the rest of my... (5 Replies)
Discussion started by: phpote
5 Replies

10. UNIX for Dummies Questions & Answers

paths

Hi there! People, i'm a new unix user, and i'm having some problems... I'm updating some scripts (korn shell) in different servers. I use telnet to access these servers and emacs to write the scripts. One of them is an HP, and there´s no problem. But the other one is an AIX, and when i call... (1 Reply)
Discussion started by: caiohn
1 Replies
Login or Register to Ask a Question