1829447 Members
1360 Online
109992 Solutions
New Discussion

Re: Configure New Disk

 
Uncle Sam
Advisor

Configure New Disk

Hello Experts

My Server Model :- rp4440
OS = HP-UX 11.23

Our Storage team is assigning new Luns to server & they are provideing just Lun ID & Size.

My question is how i can see that which lun they have assigened to system
I know ioscan & insf but i want to see that specific lun only through lun id.

Thanks
SAM

20 REPLIES 20
Torsten.
Acclaimed Contributor

Re: Configure New Disk

You can calculate the LUN ID from hardware path.

But for each array there are special tools to get such information ... e.g. xpinfo for XP and evainfo for EVA.

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!   
Uncle Sam
Advisor

Re: Configure New Disk

Hi

We are using Hatachi Array.

How I can see Device path through Lun ID.

Thank
SAM
Michal Kapalka (mikap)
Honored Contributor

Re: Configure New Disk

hi,

we have also hitachi USP-V = XP24000,

if you have xpinfo, you will be able to get this info.

mikap

Torsten.
Acclaimed Contributor

Re: Configure New Disk

I would try if xpinfo works.

However, many threads about decoding, e.g.

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1317801

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!   
Uncle Sam
Advisor

Re: Configure New Disk

Hi Mike

We are having hitachi AMS200.., I know that we can use xpinfo in XP array, but storage is providing Lun ID only.

in XP we can use xpinfo with CU:LDEV number, Could you suggest any thing like xpinfo for this kind ?

Thanks
SAM
Uncle Sam
Advisor

Re: Configure New Disk

Hi Torsten

If I can check H/W path than I can also see device path from ioscan -fnH

I don't want to use ioscan, if there are thousand of disks present in system i m gone.

I need how I can check perticuler Lun ID

SAM
Torsten.
Acclaimed Contributor

Re: Configure New Disk

Consider to ask hitachi for an appropriate tool ...

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!   
Michal Kapalka (mikap)
Honored Contributor

Re: Configure New Disk

hi,

in our company, before me or my colegues,
adding some storage to the server, we always gather all information from system, SysInfo,
and them assinging the lun.

if you dont have any chance to identify the LUN, check ll /dev/dsk*/* for time change,
dmesg, if some disk is added there will be some messages such a :

/4/1/0.97.21.19.0.1.4 sdisk
0/4/1/0.97.21.19.0.1.5 sdisk
0/4/1/0.97.21.19.0.1.6 sdisk
0/4/1/0.97.21.19.0.1.7 sdisk
0/4/1/0.97.21.19.0.2 tgt
0/4/1/0.97.21.19.0.2.0 sdisk
0/4/1/0.97.21.19.0.2.1 sdisk
0/4/1/0.97.21.19.0.2.2 sdisk
.....

the you could check diskinfo and pvdisplay ...

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: Configure New Disk

hi,


if its possible generate a new device files for all devices, and them call to SAN admins to disable asigned lun, them ioscan -fnC |grep NO_HW ===> the disks ( luns ) will be NO_HW and you can identify it, i know its not the best way to get this info, but better as delete some production data,

if you have the disk again enable ( reasigne LUNS from storage ).

mikap
Torsten.
Acclaimed Contributor

Re: Configure New Disk

According to the formula:

0/0/12/0/0.1.18.0.0.2.1 sdisk - LUN 17
0/0/12/0/0.1.18.0.0.2.2 sdisk - LUN 18

it's not this hard ...

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!   
Uncle Sam
Advisor

Re: Configure New Disk

Looks Like peoples are not active in ITRC Forums now :(
Uncle Sam
Advisor

Re: Configure New Disk

@Torsten

If I have H/W path than i can also use

ioscan -fnH H/W path -- this will show Device file

but how do i will come to know that this is the newly created Lun & same Lun id.

MY QUESTION IS SIMPLE.
SAN HAS GIVEN ME LUN ID SAY 004
HOW I CAN CHECK THAT WHAT IS THE C?T?D? of LUN ID 004

Thanks
SAM
Torsten.
Acclaimed Contributor

Re: Configure New Disk

After ioscan and insf you will see a line let's say

0/0/12/0/0.1.18.0.0.0.4

This is LUN 4.


The cxtydz is below.

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!   
Uncle Sam
Advisor

Re: Configure New Disk

@Torsten

If someone else done ioscan & insf than how I will come know ?

SAM
Michal Kapalka (mikap)
Honored Contributor

Re: Configure New Disk

hi,

if you use dmesg, the new lun will be there as i write some requests back.

for example :

0/4/1/0.97.21.19.0.1.5 sdisk


mikap
Torsten.
Acclaimed Contributor

Re: Configure New Disk

No matter who run ioscan and insf.

But if you run ioscan the first time (without insf) you will find the pathes *without* device files! This may indicate your new devices.



However, if SAN teams say your new LUN is 4, simply search for a

...0.0.0.4

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!   
Uncle Sam
Advisor

Re: Configure New Disk

Hi My SAN team Says

Lun Id: 39 Size =100GB
Lun Id 40 Size=100GB

and in ioscan these are H/W path
disk 54 0/4/2/0/4/0.127.35.19.0.0.1
disk 49 0/4/2/0/4/0.127.35.19.0.0.0
disk 50 0/5/2/0/4/0.127.99.19.0.0.0
disk 53 0/5/2/0/4/0.127.99.19.0.0.1

How it is lun id 39 & 40

SAM
Torsten.
Acclaimed Contributor

Re: Configure New Disk

Please post

# ioscan -fn

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!   
Uncle Sam
Advisor

Re: Configure New Disk

Attached is ioscan -fn
Torsten.
Acclaimed Contributor

Re: Configure New Disk

There are only 2 hitachi luns, 0 and 1 - dual pathed.

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!