• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2666
  • Last Modified:

HP-UX : multipathing


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?

  • 2
  • 2
1 Solution
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.
g0allAuthor Commented:
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?
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
g0allAuthor Commented:
Excellent (again).

Many thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now