Operating System - HP-UX
1752520 Members
5580 Online
108788 Solutions
New Discussion юеВ

Re: HP-UX 11.31 list attached Luns Hitachi

 
SOLVED
Go to solution
Jonathan Caplette_1
Super Advisor

HP-UX 11.31 list attached Luns Hitachi

Hi guys,

I've a new box that runs HP-UX 11.31, and it has a Hitachi storage attached to it. I'm not managing SAN, a team gives me the Luns I need, they after that tell me they assigned my server the Luns LDEV XX:XX (what ever)...

My problem is that I need to identify witch LDEV (Luns) is what when I list my device with ioscan.

Anyone have a tool for this, I need to find what disk is what LUN...

Thanks
Jonathan
5 REPLIES 5
S. Ney
Trusted Contributor

Re: HP-UX 11.31 list attached Luns Hitachi

There are new options w/ the ioscan command in 11.31 and a scsimgr command to take advantage of. scsimgr allows you to view LUN attributes and useage statistics.

Try some of the following:
ioscan -m hwpath (lists Agile View LUN H/W paths and their legacy addresses)
ioscan -kfnC disk (lists disk class devices, H/W paths, and DSF's)
ioscan -kfnN disk (lists H/W & persistent DSF's associated w each H/W path)

Do a man on scsimgr to get all the options. You'll be able to match the names the storage team gave you to the correlate the LUN's DSFs.
example) #scsimgr lun_map -D /dev/rdisk/disk##
example) scsimgr get_attr -D /dev/rdisk/disk##

to monitor real time lunpath useage try
#sar -L 2 5 (two five second intervals, in this example)

to check the health of your newly presented lunpaths:
ioscan -P health

Hopefully these commands help
Laerte Cardoso
Frequent Advisor
Solution

Re: HP-UX 11.31 list attached Luns Hitachi

Hi Jonathan,
Try with attch file:
ioscan -fnC disk |inqraid -fx > /tmp/log
The output will be like this:

/dev/rdsk/c33t1d0 -> [SQ] CL1-B Ser = 10182 LDEV = 32A [HITACHI ] [OPEN-E*10

The "32A" is the HDS id.
Jonathan Caplette_1
Super Advisor

Re: HP-UX 11.31 list attached Luns Hitachi

Thanks Ney and Laerte for your fast reply..

I've already imported inqraid from an old 11.11 box, it work perfectly.. This is what I was looking for...

Bhagirath K Lader
New Member

Re: HP-UX 11.31 list attached Luns Hitachi

Hi friends,

Please see my response in the following thread for another solution to this problem:

https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1166003


Regards
Bhagirath K Lader
Jonathan Caplette_1
Super Advisor

Re: HP-UX 11.31 list attached Luns Hitachi

THanks all... I've done a script to match what I need...