Operating System - HP-UX
1833645 Members
4713 Online
110062 Solutions
New Discussion

how to find the lun number in hpunix

 
sanwin
Frequent Advisor

how to find the lun number in hpunix

Hi,
There are new luns allocated to the server.
The storage team has given lun number.
But to check that lun number in ioscan output.

Please help.

regards,
sanwin.
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: how to find the lun number in hpunix

Post an "ioscan -fn"!

What LUN number are you looking for?

What is the array model?
Depending on the array, you may have another special tools to find out this information.

But it's also possible from the hardware path.

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!   
Murat SULUHAN
Honored Contributor

Re: how to find the lun number in hpunix

Fabien GUTIERREZ
Frequent Advisor

Re: how to find the lun number in hpunix

on low range storage the last digit of your path in ioscan will give you the lunid (same as the last value of your cxtydz device)
if you are using other kind of storage you ll have specific tools to get such information (xpinfo for XP arrays for example)
Torsten.
Acclaimed Contributor

Re: how to find the lun number in hpunix

This is only valid for LUN 0 ... 7 and has nothing to do with "low range storage".

How about LUN 8?

It would be

././...0.1.0

So you can even decode higher LUN numbers from the hardware path.

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!   
Sajjad Sahir
Honored Contributor

Re: how to find the lun number in hpunix

Dear Sanwin
it depends on u storage

for example
if u are using xpstorage
u can use xpinfo -i command to find lun

if u are presenting disk through eva during presenting time it will ask lun number
once disk is presented in u system u can see by using ioscan -funC disk command from there u can identify the lun number.
Jeeshan
Honored Contributor

Re: how to find the lun number in hpunix

hi

To see for EMC, use the command below to see the allocated LUNS

#powermt display dev=all

a warrior never quits
Torsten.
Acclaimed Contributor

Re: how to find the lun number in hpunix

Hmm, after evainfo, xpinfo and powermt - what else do we have?

For VA7xx0:

# armtopology

;-)

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!   
sanwin
Frequent Advisor

Re: how to find the lun number in hpunix

thanks torsten and all. I will give the details soon.

regards,
sanwin