System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

identify new luns @ server side

 
sokolova
Advisor

identify new luns @ server side

how to identify newly assigned luns @ server side.. for creating a new VG
and there are many luns already added and no secure path and mutipath is there...
7 REPLIES
g3jza
Esteemed Contributor

Re: identify new luns @ server side

Hi,

basically, running 'ioscan -fn' should be enough to see new luns presented from the disk array on the server.
What hp-ux version are you running? If 11.23 and lower, you also need to create DSFs by 'insf -C disk'

what disk array are you using?

If using HP's XP disk arrays, there's a utility called 'xpinfo' , to map disk's DSF to certain 'CU:LDEV' on the diskarray. This command works also for SUN(now Oracle) disk arrays.

For HP's EVA, there's similar 'evainfo' command.

I don't know about other disk array vendors, they probably have similar tools.
sokolova
Advisor

Re: identify new luns @ server side

11i v1 and V2,, after assigning the lun ,how to identify the luch to create a VG.
storage is EVA and XP24k...
Torsten.
Acclaimed Contributor

Re: identify new luns @ server side

An "ioscan -fn" will list disks without device files. These are new. Now you need to use insf to create the device files.


As said before, xpinfo and evainfo will help you to identify the disks also.

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!   
g3jza
Esteemed Contributor

Re: identify new luns @ server side

do you have those utilities (it's just a binary file, doesn't even need to install it with 'swinstall') on your servers?

#which xpinfo
#which evainfo

If you don't have them, then since you are an owner of those disk arrays, you should have no problem to get them from HP support. As I know, they are not available to download from internet.
Stephan.
Honored Contributor

Re: identify new luns @ server side

g3jza
Esteemed Contributor

Re: identify new luns @ server side

Don't forget to assign points, if out answers were helpful.

Cheers
Bob_Vance
Esteemed Contributor

Re: identify new luns @ server side

Before you do the insf, do

# ioscan -fnCdisk > /tmp/ios1

then do insf

# insf -Cdisk

then another ioscan

# ioscan -fnCdisk > /tmp/ios2

Now, you can diff the listings.

# diff /tmp/ios1 /tmp/ios2

That should show you the added disks.



for converting HW address to LUN number,
see the thread

http://h30499.www3.hp.com/t5/System-Administration/LUN-details-with-mount-point/m-p/4780405#M390941

Basically:
To verify the devices to LUN numbers the storage admin presented @ server, use formula:

Taking the last 3 octets of the disk HW address,

...m.n.p

you can calculate the LUN from the array by:

LUN= $(( 128*m + 8*n + p ))


For example,
if the LUN presented is LUN 110,

then 110 = $(( 128*0 + 8*13 + 6 ))

then the HW path FOR EACH san path to the disk will be like :

disk ... 0//....0.13.6

I.e., all the paths' HW addresses will end in 0.13.6

So you could search the listing for

^disk.*0\.13\.6

and find each associated /dev/dsk/cNtTdL .


bv

"The lyf so short, the craft so long to lerne." - Chaucer