Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1001742.1 : Sun StorEdge[TM] T3 Array: Identifying T3 LUNS from Solaris[TM] Operating System
PreviouslyPublishedAs 202373 Description This document describes Sun StorEdge[TM] T3 Array: Identifying T3 LUNS from Solaris[TM] Operating System. Steps to Follow The "vxdisk list" output of a Sun StorEdge T3 ES Array pair can be confusing the first time you see it. You might expect to see exactly what you see in format, but this is not the case! Here is an example - A single ES pair, 2 Logical Unit Numbers(LUN) Format: You will see all 8 paths to the 4 LUN's, just like a Sun StorEdge A5x00 array. DEVICE TYPE DISK GROUP STATUS What happened to c3? Veritas, vxvm, only shows you the paths to Sorting It All Out: All of this can be sorted out by using the "port listmap" and On the T3 array - labt3-1:/:<1>port listmap This shows us our LUN ownership and host port target ID's. The number under the labt3-1:/:<2>port list Between these 2 commands, we now know the target #, LUN #, and c3t2d2 and c3t2d3 are paths of u2v0 and u2v1 for u2 (wwn 50020f2300005511) NOTE DO NOT assume this is always the case. LUN's in the T3 array, are So, looking at the following snippet from the format output above, 3. c2t1d2 <SUN-T300-0116 cyl 34530 alt 2 hd 32 sec 128> We can confirm our conclusions and hopefully clarify the VxVM You have already seen the "vxdisk list" command above, but it's DEVICE TYPE DISK GROUP STATUS To show the dmp paths for these LUN's, you can use the vxdmpadm vxdmpadm getsubpaths dmpnodename=c2t1d0s2 NAME STATE PATH-TYPE CTLR-NAME ENCLR-TYPE ENCLR-NAME ================================================================== NONAME DISABLED SECONDARY c2 T300 purple1 NONAME DISABLED PRIMARY c3 T300 purple1 c2t1d0s2 ENABLED PRIMARY c2 T300 purple1 c3t2d0s2 ENABLED SECONDARY c3 T300 purple1 You can see that c2t1d0s2 is the primary path on controller c2 Another way is to use "vxdisk list" again, but grep out the 2 vxdisk list c2t1d0s2 | grep state NONAME state=disabled type=secondary NONAME state=disabled type=primary c2t1d0s2 state=enabled type=primary c3t2d0s2 state=enabled type=secondary You may or may not find this more useful. Other useful vxdmpadm commands to get a picture of your dmp vxdmpadm listctlr all CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME ===================================================== c0 OTHER ENABLED others0 c2 T300 ENABLED purple1 c3 T300 ENABLED purple1 vxdmpadm getsubpaths ctlr=c2 NAME STATE PATH-TYPE DMPNODENAME ENCLR-TYPE ENCLR-NAME ==================================================================== NONAME DISABLED PRIMARY c2t1d3s2 T300 purple1 NONAME DISABLED PRIMARY c2t1d2s2 T300 purple1 NONAME DISABLED SECONDARY c2t1d1s2 T300 purple1 NONAME DISABLED SECONDARY c2t1d0s2 T300 purple1 c2t1d3s2 ENABLED SECONDARY c2t1d3s2 T300 purple1 c2t1d2s2 ENABLED SECONDARY c2t1d2s2 T300 purple1 c2t1d1s2 ENABLED PRIMARY c2t1d1s2 T300 purple1 c2t1d0s2 ENABLED PRIMARY c2t1d0s2 T300 purple1 And last, but certainly not least, if you want to find out what the Inquiry: 00 00 03 12 5b 00 10 02 53 55 4e 20 20 20 20 20 ....[...SUN ^^ The 7th field indicates whether it is a primary or secondary path. 10 = primary, 30 = secondary. 54 33 30 30 20 20 20 20 20 20 20 20 20 20 20 20 T300 30 31 31 36 30 30 30 32 32 35 38 34 31 30 00 00 01160002258410.. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... Additional Notes: A handy little script, useful if you only have T3 arrays, or(with some for i in $(vxdisk list | awk '{print $1}') do vxdmpadm getsubpaths dmpnodename=$i done You get a little noise from the first line of vxdisk list output, You can also observe IO going to the T3 arrays, using "iostat", which is iostat -xcn 10 Product Sun StorageTek T3 Array VERITAS Volume Manager 3.2 Software Internal Comments For the internal use of Sun Employee's. Submitted by Karl.Vietmeier@Sun.COM map t3 lun, identify t3, t3 Previously Published As 28309 Change History Date: 2004-09-08 User Name: 18392 Action: Approved Comment: Added Proper names, nouns, to Title, body. Added STM formatting to make the tabulated data look better. Version: 3 Date: 2004-09-07 User Name: 18392 Action: Accept Comment: Version: 0 Attachments This solution has no attachment |
||||||||||||
|