1829690 Members
9045 Online
109992 Solutions
New Discussion

SAN disk display

 
Jeff Wilder
Occasional Contributor

SAN disk display

We have a new 8640 connected to our EVA 8100 via FC. I have presented multiple disks to the host that are of the same size. My question is how do i know on the host running hp-ux 11i v3 which disk that i see on the host is associated to the lun that was presented to it on the EVA? The host has randomly named the disks like disk316. How can i determine which vdisk this is on my EVA and vice versa? We are VERY new to HP-UX just moving over from OpenVMS so any help on this would be GREATLY appreciated!
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: SAN disk display

Shalom,

ioscan

ioscan -fnC disk

This should show the new disks after detection.

On HP-UX 11.11 and 11.23 insf -C disk may be needed to make the disks show up on ioscan. A reboot will also detect disks.

You can match the LUN numbers on the EVA 8100 controller to the ioscan output to determine which disk is which.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeff Wilder
Occasional Contributor

Re: SAN disk display

Steven, Thanks for the quick reply. That is exactly my problem. I don't see the LUN's that were assigned on the EVA on the host. Here is an example: I have created a 16GB disk named atg201 and presented it to my 8640 with a lun of 201.

The disk appears on my host like this:
disk 316 64000/0xfa00/0x1d esdisk CLAIMED DEVICE online HP
1/0/12/1/0/4/0.0x50001fe1500f733c.0x40c9000000000000
1/0/12/1/0/4/0.0x50001fe1500f7338.0x40c9000000000000
1/0/12/1/0/4/0.0x50001fe1500f733a.0x40c9000000000000
1/0/12/1/0/4/0.0x50001fe1500f733e.0x40c9000000000000
1/0/14/1/0/4/0.0x50001fe1500f7339.0x40c9000000000000
1/0/14/1/0/4/0.0x50001fe1500f733d.0x40c9000000000000
1/0/14/1/0/4/0.0x50001fe1500f733b.0x40c9000000000000
1/0/14/1/0/4/0.0x50001fe1500f733f.0x40c9000000000000
/dev/disk/disk316 /dev/rdisk/disk316


Now, i happen to know that this is the same disk because it is the only 16GB disk i have presented to the host. However, my problem is that i have about 20 other disks that i have presented that are the same size. How do i know which is which?

Sorry about the long post :)

Thanks again for you help!
Torsten.
Acclaimed Contributor

Re: SAN disk display

1) you see the LUN and the port WWN in the above output

2) you can calculate the LUN from classic hardware path

3) you can use evainfo

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!   
Jeff Wilder
Occasional Contributor

Re: SAN disk display

Torsten, Thank you for the Reply. I am really not trying to be "thick" here. As i mentioned we are just starting hp-ux :)

1. Can you explain how the lun shows here? I have looked at every hex combination above and nowhere do i get lun 201.I also don't see any WWN that matches ports on my EVA....?

2. Can you explain how to get the lun from the "classic" hardware path?

Thank you!
Jeff Wilder
Occasional Contributor

Re: SAN disk display

OK, i see that c9 equals 201 so this should be my lun. Still not sure what the 40 represents. And i see the WWN before that.

What is evainfo and how can i get it to run on my system?

Thanks again!
sujit kumar singh
Honored Contributor

Re: SAN disk display

Hi Jeff,


the calculation in the LUN ID can be had by looking at the pge 58 of Next genertion mass storage stack.
http://docs.hp.com/en/MassStorageStack/The_Next_Generation_Mass_Storage_Stack.pdf

please note that
The LUN address for a Fibre Channel device is a 64-bit LUNid.



1/0/14/1/0/4/0.0x50001fe1500f733f.0x40c9000000000000


first 4 bit of the 64 bit LUN address 40c9000000000000 are

40c9 = 0100 0000 1100 1001 = 01 00000011001001

01 -- tells Flat Space Addressing

00000011001001 -- tells LUN ID is -- Decimal 209 and Hex c9


regards
sujit
sujit kumar singh
Honored Contributor

Re: SAN disk display

hi

please correct this

0000011001001 -- tells LUN ID is -- Decimal 209 and Hex c9

this should read as
0000011001001 -- tells LUN ID is -- Decimal 201and Hex c9
regards
sujit