Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

PV <--> LUN ID mapping

SOLVED
Go to solution
The_Cina
Advisor

PV <--> LUN ID mapping

Hello guys,
I'm running an HP-UX 11.13 attached to XP10K through hp brocade switch.

I'm looking for a way to translate the HW path in LUN ID, by starting from an output like this (ioscan -m lun -C disk ):

Class I Lun H/W Path Driver S/W State H/W Type Health Description
=======================================================================
disk 366 64000/0xfa00/0x41 esdisk CLAIMED DEVICE online HP OPEN-V
0/2/1/0.0x50060e80141a7510.0x4010000000000000 0/2/1/0.0x50060e80141a7511.0x4010000000000000
/dev/disk/disk366 /dev/rdisk/disk366

I searched for the following tools on the server :
xpinfo
armtopology
armdsp
arraydsp
But no one of those executable is installed.

I don't want to use the legacy path to translate the LUNID, because the starting number of the LUNID is not 0 and this is a discovery on a system that I didn't setup.

It may sounds weird, but, is there any other way to get the LUN ID with basic HP-UX 11.v3 tools?

Thanks in advance for your time!

4 REPLIES
IBaltay
Honored Contributor
Solution

Re: PV <--> LUN ID mapping

Hi,
maybe this thread can help a bit:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1012703
there is a link
http://docs.hp.com/en/AB378-96001/ch01s12.html
in it


the pain is one part of the reality
Torsten.
Acclaimed Contributor

Re: PV <--> LUN ID mapping

First:

xpinfo ==> ask HP support for it (best)
armtopology ==> for VA7xx0 only
armdsp ==> for VA7xx0 only
arraydsp ==> for another old array only


You can directly read this from new device files (but I'm still learning about this ;-) )

Meanwhile I prefer to read the legacy hw-path - at the moment more easy for me.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: PV <--> LUN ID mapping

Document:

http://docs.hp.com/en/msDeviceNaming/Mass_Storage_Device_Naming.pdf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
The_Cina
Advisor

Re: PV <--> LUN ID mapping

Thanks, the document is great.

To translate the path I have used :

#ioscan -m lun /dev/rdisk/disk20

Thanks,