Operating System - HP-UX
1832976 Members
2874 Online
110048 Solutions
New Discussion

Re: need help finding disks cXtXdx from server to SAN

 
Chris Fadrowski
Super Advisor

need help finding disks cXtXdx from server to SAN

I have a n4000 attached to a hitachi 9200. I am looking for a way to correlate cXtXdX numbers to LUNS on the SAN. i have to move some around and if i move them i will delete the data if they are the wrong ones. I am familiar with ioscan but just need some help figuring this out or a way to do this accurately.
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: need help finding disks cXtXdx from server to SAN

Chris,

There's always the old standby "light the lights with dd" test:

dd if=/dev/cXtXdX of=/dev/null bs=1024k

and look for the active LUN.


Pete


Pete
Chris Fadrowski
Super Advisor

Re: need help finding disks cXtXdx from server to SAN

i was just about to try that, however on my SAN device, it's all raid groups and they all flash. This works well for local disks. I am finding there is no EASY way to do this other than just trace back LUN ID to controller and then to LUN # on the san and us the "D" in cxtxdx to link them.
Pete Randall
Outstanding Contributor

Re: need help finding disks cXtXdx from server to SAN

Chris,

Yeah, with RAID you're going to be striped most likely, so that kind of kills that idea. Unless you have some sort of utility that comes with the array (like the amutil command for the FC60), the only other chance is with STM:

xstm/mstm: Select: Tools > Exper Tool > Run
then select: Utilities > Flash Component Lights > Drive | LUN | Disk Enclosure | Array


Pete


Pete
Tim D Fulford
Honored Contributor

Re: need help finding disks cXtXdx from server to SAN

Geoff Wild
Honored Contributor

Re: need help finding disks cXtXdx from server to SAN

In EMC, there is a syminq command - I'm sure that HDS has something like that.

Shows:
Device Product Device
----------------------- --------- --------------------- -------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
----------------------- --------- --------------------- -------------------

/dev/rdsk/c0t6d0 HP 36.4G ST336752LC HP02 3ET0FPZ1 35566480
/dev/rdsk/c3t6d0 HP 36.4G ST336752LC HP02 3ET0FQNS 35566480
/dev/rdsk/c4t0d0 EMC SYMMETRIX 5568 15000000 7680
/dev/rdsk/c4t1d0 R1 EMC SYMMETRIX 5568 15101000 8838720

Under the serial num, 15101000 means "frame" 15, LUN 101.

Don't know if that helps....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.