Solved

HP-UX : multipathing

Posted on 2012-03-24
4
2,233 Views
Last Modified: 2012-03-27
Hi,

Please tell me:

1. How to check HP-ux multipaths (Linux equivalent of multipath -l )

2. How to check which drives are local or mounted via multipath?

Thanks!
0
Comment
Question by:g0all
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 37763470
Which version of HP-UX?

HP-UX did not support native dynamic multipathing before HP-UX 11i v3, so you may have add-on software (e.g. EMCs DMP) to provide a single device file that DMP then uses to address both "real" paths. There are DMP commands to check the status, in the same way as Linux `multipath`

In HP-UX 11i v3, `ioscan` will show you "persistent" device names that may have multiple underlying paths.

With earlier versions of HP-UX, `ioscan` shows you all paths but it's not obvious if two go to the same device (e.g. a LUN on a storage array). However, when you initialise a disk for LVM use with `pvcreate`, it gives it a unique ID so if you then add both paths to a Volume Group, the Volume group recognises that as a Primary and Secondary path and does an automatic failover if the Primary path is lost. `vgdisplay` would show you both paths.

I think SAM may show you a single device name for a multi-pathed disk.
0
 
LVL 1

Author Comment

by:g0all
ID: 37765956
Thank you for your effort.

I have HP-UX 11i v3 (B.11.31)

Can you please post a ioscan output on a hp-ux multipath-enabled server?
0
 
LVL 21

Accepted Solution

by:
tfewster earned 500 total points
ID: 37770649
There are examples in the  "HP-UX 11i v3 Mass Storage Device Naming" whitepaper at http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c01906504/c01906504.pdf

Page 11: `ioscan -m dsf` shows the "persistent" names, and the underlying "old" device names, with multiple Legacy paths if the device is multi-pathed.

Page 12: `ioscan -m hwpath` does the same for hardware paths
0
 
LVL 1

Author Closing Comment

by:g0all
ID: 37770666
Excellent (again).

Many thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question