Mapping LUN id in Hex to h/w path


 
Thread Tools Search this Thread
Operating Systems HP-UX Mapping LUN id in Hex to h/w path
# 1  
Old 05-12-2009
Mapping LUN id in Hex to h/w path

Hi Everyone..
For HP-UX B.11.11-when new storage is allocated, i want to correlate the "ioscan -funC disk" o/p like,
disk 1110 0/0/8/0/0.97.49.19.0.9.4 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c103t9d4 /dev/rdsk/c103t9d4
and so on.......
with LUN id like 2052/205a/2062,
Can anybody please let me know how to achieve this..? Is there any command to get all info at one go..?
# 2  
Old 05-12-2009
But we agree /dev/dsk/c103t9d4 is the way the OS sees the LUNs...
What you are looking for then will be some software from EMC if it exist to do the task in such a way does HDS /opt/HDVM/util/bin/hldutil:
Code:
Device                 fs               Vend.    Prod.            Port# Tid#  Lun#  Ldev# Ser#  RaidID RG#   PortWWN           NodeWWN
.
.
/dev/rdsk/c14t0d0      /data/www        HITACHI  OPEN-V           CL3-E 0     0     02:AD 0EBA3 R500   5-5   50060B0000250782  50060B0000250783  
                       /export                                                                                                                   
                       /opt/patrol                                                                                                               
                       /prd/data/mnt0  
.
etc...

# 3  
Old 05-13-2009
Thanks vbe..yes, it seems i need to look for such software from EMC if any available..but i feel there must be some solution to find/match the disk h/w path if only hexadecimal LUN id is given from storage team..Smilie
# 4  
Old 06-12-2009
Either EMC PowerPath or EMC SymCLI will match a Sym device number to a DSF.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

2. Shell Programming and Scripting

Moving files from parent path to multiple child path using bash in efficient way

Hi All, Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created. /Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt /Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies

3. Shell Programming and Scripting

How to replace with "sed" some hex values by other hex values?

Assume I have a file \usr\home\\somedir\myfile123.txt and I want to replace all occurencies of the two (concatenated) hex values x'AD' x'A0' bytwo other (concatenated) hex values x'20' x'6E' How can I achieve this with the gnu sed tool? Additional question: Is there a way to let sed show... (1 Reply)
Discussion started by: pstein
1 Replies

4. Shell Programming and Scripting

Creating unique mapping from multiple mapping

Hello, I do not know if this is the right title to use. I have a large dictionary database which has the following structure: where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =. What I am looking for is a perl script which will take... (5 Replies)
Discussion started by: gimley
5 Replies

5. Programming

What is the difference between ios::hex and std::hex?

Hi, Is there really a difference between these two, std::hex and ios::hex?? I stumbled upon reading a line, "std::ios::hex is a bitmask (8 on gcc) and works with setf(). std::hex is the operator". Is this true? Thanks (0 Replies)
Discussion started by: royalibrahim
0 Replies

6. Programming

After converting the hexstr to Hex and storing the Hex in a char*

Hi All, My main intension of is to convert the Hexstring stored in a char* into hex and then prefixing it with "0x" and suffix it with ',' This has to be done for all the hexstring char* is NULL. Store the result prefixed with "0x" and suffixed with ',' in another char* and pass it to... (1 Reply)
Discussion started by: rvan
1 Replies

7. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

8. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 Replies

9. HP-UX

How to add Boot path for ALUA lun in EFI?

Hi All, I am trying to make a Boot from San setup on 11.31 IA64 (rx2660). The San array I am using is EMC Clariion with failover mode ALUA. Now, My setup is ready and I am able to boot my host from the Lun. I have 4 paths to my Lun from my host. Question is how do I add the entries in EFI... (0 Replies)
Discussion started by: barun agarwal
0 Replies

10. UNIX for Dummies Questions & Answers

LUN mapping

Hi, We recently purchased a 3 tb RAID. In the setup, it created 2 slices, one 2 tb and one 1 tb slice. Right now only the 2 tb slice is visible when booting up. I was told that the second slice needs to be mapped to a lun and a port like the first slice is. Does anyone know how I would go... (1 Reply)
Discussion started by: user23
1 Replies
Login or Register to Ask a Question