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


 
Thread Tools Search this Thread
Operating Systems Solaris I have LUN ID, how to find disk relate to that LUN ID?
# 1  
Old 07-26-2009
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
# 2  
Old 07-26-2009
Hi,
it would be helpful if you could let us know which OS and what kind of storage you're using ?
Kind regards
zxmaus
# 3  
Old 07-26-2009
sorry about that.

it is SunOS 5.9 and SAN Storage

---------- Post updated at 03:08 PM ---------- Previous update was at 03:07 PM ----------

root@production2p:${PWD}#/opt/QLogic_Corporation/SANsurferCLI/scli -do all rescan
The driver rescan operation finished successfully on HBA port 0.
The driver rescan operation finished successfully on HBA port 2.
The driver rescan operation finished successfully on HBA port 1.
The driver rescan operation finished successfully on HBA port 3.
root@production2p:${PWD}#vxdisk list | grep invalid
c3t4d39s2 auto:none - - online invalid
c3t4d40s2 auto:none - - online invalid
c3t4d104s2 auto:none - - online invalid
c3t4d150s2 auto:none - - online invalid
c3t14d52s2 auto:none - - online invalid
c3t14d53s2 auto:none - - online invalid
c3t18d51s2 auto:none - - online invalid
root@production2p:${PWD}#vxdisk list c3t4d150s2
Device: c3t4d150s2
devicetag: c3t4d150
type: auto
info: format=none
flags: online ready private autoconfig invalid
pubpaths: block=/dev/vx/dmp/c3t4d150s2 char=/dev/vx/rdmp/c3t4d150s2
guid: -
udid: IBM%5F2107%5F75DLKK1%5F6005076305FFC21400000000000060B3
site: -
Multipathing information:
numpaths: 2
c3t4d150s2 state=enabled
c4t5d150s2 state=enabled
# 4  
Old 07-26-2009
look the LUN ID is supposed to be the number here:

for example:
c3t18d51s2

LUN ID = 51, because it is d51 (disk #51).

but be careful, it's tricky.

I suggest you trace your disks.

It seems that you have two controller (c3, c4)

and on C3, you have three targets:
t4, t14, t18

(PS: for detailed description, check your SAN to figure out why they appear as 3 targets, but that's not really important)


now your LUNs appear to be out of order:
d39, d40
d104,
d150, d151, d154

so try to MAP each LUN on your SAN to each d#..


I hope that helps !
# 5  
Old 07-27-2009
ok, I see. I will give a try tomorrow. Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

HP-UX how formating LUN disk

Hello folks, I have Hp.ux 11.31 and I need know how formating in OS new LUN disk attach to system e.g. the wwid: # scsimgr lun_map -D /dev/rdisk/disk4 LUN PATH INFORMATION FOR LUN : /dev/rdisk/disk4 Total number of LUN paths = 2 World Wide Identifier(WWID) =... (3 Replies)
Discussion started by: aav1307
3 Replies

2. UNIX for Dummies Questions & Answers

Which disk is LUN?

how do I know which hdisk from "lsdev -Cc disk" is my LUN on NetApp after zoning from SAN switch? is it "MPIO other FC SCSI Disk Drive"? (1 Reply)
Discussion started by: malayo
1 Replies

3. Solaris

How can i find the LUN ID's

Dear all, i want to get the LUN ID for some disks in solaris 10 what commands options for the MPXIO and inq i want these utilities only because i don't have solution enabler or powerpath BR, (1 Reply)
Discussion started by: maxim42
1 Replies

4. AIX

Not getting Lun Id

Hi, I am not getiting lun id information on VIO Server. I have used the command fget_config command. just showing # prompt. I would like know wheather any other command is there equiv of fget_config which will display lun id? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

5. HP-UX

Disk file and Lun Number

HI all, I am confused when I am seeing the output of bdf command ioscan -fnC disk, there is no same files which i have seen in bdf output and ioscan output...One volume was mounted in one folder called /teldb and device file path was /dev/disk/disk48. The same i didnt found in ioscan disk... (6 Replies)
Discussion started by: selvaforum
6 Replies

6. Solaris

Find LUN with WWN

Hello all, I need find in my OS (Sun10) on LUN 1Tb with WWN 6005-08b4-0010-7137-0000-e000-0076-0000 (HBA) How do it?, Thanks, (3 Replies)
Discussion started by: aav1307
3 Replies

7. 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

8. Solaris

LUN not ready

hey guys i got this in my logs what does this mean: (1 Reply)
Discussion started by: sbn
1 Replies

9. Solaris

command to scan Enterprise storage Lun disk in Solaris

I just installed IBMsdd on Solaris diver along with the patches recommended. I also installed 2 - 2Gigs qlogic fiber cards & the corresponding pkges for the cards. What command can I use to scan this LUN disks from my Soalris servers. Solaris doen't seem to be seeing this disks presented on it.... (2 Replies)
Discussion started by: Remi
2 Replies

10. UNIX for Advanced & Expert Users

VxVM disk/lun grow

hi, i have a volume on a LUN of an EMC-storage and i need to increase the size. i could increase the size of the LUN on the EMC, i could increase the size of the disk for solaris, but how can i tell the veritas volume manager that the disk is larger now? what i've done: 1. LUN on EMC 2.... (3 Replies)
Discussion started by: pressy
3 Replies
Login or Register to Ask a Question