- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to check storage devices redundant paths in H...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2011 09:11 AM
тАО05-10-2011 09:11 AM
1) If we rescan the device does the HPUX hosts creates the new paths ? does the hosts ran out of max devices on their bus exts ?
Do we have any scripts/commands that shows the dual paths are active and check the current ext_bus count .
In this upgrade we have Linux hosts which are running multipath
Please let me know if you any scripts for Linux multipathing to check the redundant paths
Thank you
Kumar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2011 09:24 AM
тАО05-10-2011 09:24 AM
Re: How to check storage devices redundant paths in HPUX
What's the os version.
If you have multhpathing sw installed, then u can chk the redundant path from it.
Thanks,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2011 09:45 AM
тАО05-10-2011 09:45 AM
Re: How to check storage devices redundant paths in HPUX
HP-UX B.11.11 U 9000/800 3193079555 unlimited-user license
Linux
Cel 5.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2011 10:03 AM
тАО05-10-2011 10:03 AM
Re: How to check storage devices redundant paths in HPUX
ioscan -funC disk will display all primary and alternate disk paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2011 07:50 PM
тАО05-10-2011 07:50 PM
Re: How to check storage devices redundant paths in HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 05:48 AM
тАО05-11-2011 05:48 AM
Re: How to check storage devices redundant paths in HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 04:23 PM - last edited on тАО07-07-2011 01:35 PM by Kevin_Paul
тАО05-11-2011 04:23 PM - last edited on тАО07-07-2011 01:35 PM by Kevin_Paul
Solution
## ioscan -fnCdisk
will give you the hardware path and device names for each alternate path to a LUN.
You cannot necessarily and generally tell which LUN a device name belongs to by simply inspecting the name.
E.g.,
/dev/dsk/cXt5d6
.
You *can*, however, by inspecting the HW path in ioscan output.
See, thread
http://h30499.www3.hp.com/t5/System-Administration/LUN-details-with-mount-point/m-p/4780405#M390941
OTOH, if you KNOW that the LUN numbers presented are less than 128 (not total of 128 LUNs, but each and every LUN # < 128), then you *can* use the device name.
In
/dev/dsk/cXt5d6
the LUN would be 5*16+6 = 86.
Since no LUN# is > 128, then no other LUN can be of the form cYt5d6.
So you could
## ioscan -fnCdisk > /tmp/ioL
## grep t5d6 /tmp/iol
would give you all the cNt5d6 device names and they would all be alternate paths to the same LUN 86.
You could manually peruse the /tmp/ioL and figure things out.
Or with a little fancy scripting and 'awk' you could cobble up something better.
E.g, I have script that's tailored for my environment.
It works by inspecting and analyzing the ioscan -fnCdisk output.
Get LUN # for a device name:
## get_LUN_dev c33t10d3
HBA0dev=0/2/1/0
pineMSA0 116 0/2/1/0.3.0.239.0.10.3 sdisk CLAIMED DEVICE HP MSA2312fc
/dev/dsk/c33t10d3 /dev/rdsk/c33t10d3
LUNdev=0/2/1/0.3.0.239.0.10.3
LUN= $(( 128*0 + 8*10 + 3 )) = 83
The reverse, device name from LUN# and Array:
## get_LUN_dev 83 pineMSA
HBA0dev=0/2/1/0
pineMSAdev0 =0/2/1/0.3
HBA1dev=0/5/2/0
pineMSAdev1 =0/5/2/0.4
pineMSA0 116 0/2/1/0.3.0.239.0.10.3 sdisk CLAIMED DEVICE HP MSA2312fc
/dev/dsk/c33t10d3 /dev/rdsk/c33t10d3
pineMSA0 115 0/2/1/0.3.8.239.0.10.3 sdisk CLAIMED DEVICE HP MSA2312fc
/dev/dsk/c34t10d3 /dev/rdsk/c34t10d3
pineMSA1 111 0/5/2/0.4.0.239.0.10.3 sdisk CLAIMED DEVICE HP MSA2312fc
/dev/dsk/c31t10d3 /dev/rdsk/c31t10d3
pineMSA1 110 0/5/2/0.4.8.239.0.10.3 sdisk CLAIMED DEVICE HP MSA2312fc
/dev/dsk/c32t10d3 /dev/rdsk/c32t10d3
So, here there are 4 alternate paths to LUN 83.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 04:49 PM
тАО05-11-2011 04:49 PM