Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1011799.1
Update Date:2010-08-10
Keywords:

Solution Type  Technical Instruction Sure

Solution  1011799.1 :   How to match an sd number to a lun  


Related Items
  • Sun Storage A3500 SCSI Array
  •  
  • Sun Storage A3500 FC Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - Other
  •  

PreviouslyPublishedAs
216165


Description
How to match an sd number to a lun.

Steps to Follow
When using commands such as 'sar -d' or 'iostat', the naming of the
devices is based on sd numbers which must be translated into
cxtxdx numbers to be useful. When LUNs are involved, the translation
process differs.
For this example, we will translate an sd number of 97 into it's
cxtxdx number.
# grep 97 /etc/path_to_inst
"/sbus@3,0/SUNW,fas@3,8800000/sd@5,5" 197 "sd"
"/sbus@7,0/SUNW,fas@3,8800000/rdriver@3,5" 197 "rdriver"
"/sbus@7,0/QLGC,isp@2,10000/rdriver@5,1" 97 "rdriver"
"/sbus@b,0/SUNW,fas@3,8800000/sd@3,6" 297 "sd"
"/sbus@2,0/QLGC,isp@2,10000/sd@5,3" 97 "sd" <--- USE THE STRING FROM THIS ENTRY
# cd /dev/osa/dev/dsk
# ls -l | grep /sbus@2,0/QLGC,isp@2,10000/sd@5,3
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s0 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:a
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s1 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:b
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s2 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:c
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s3 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:d
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s4 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:e
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s5 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:f
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s6 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:g
lrwxrwxrwx 1 root root 48 Aug 18 11:32 c1t5d3s7 ->
../../devices/sbus@2,0/QLGC,isp@2,10000/sd@5,3:h
This shows that sd97 corresponds to LUN c1t5d3.


Product
Sun StorageTek A3500 FC Array
Sun StorageTek A3500 Array

Previously Published As
17913

Change History
This article is missing a Keyword statement.

Date: 2006-01-18
User Name: 95826
Action: Update Canceled
Comment: *** Restored Published Content *** SSH AUDIT
Version: 0
Date: 2006-01-18
User Name: 95826
Action: Update Started
Comment: SSH AUDIT
Version: 0
Date: 2003-05-20
User Name: Administrator
Action: Migration from KMSCreator
Comment: updated by : Matthew Shattuck
comment : Checked for Keywords and ran spell check
Verifed collection and made audience hardware.
corrected audience.

"MIGRATION CLEANUP"
Product_uuid
b648cdf0-efb8-4d4f-93d4-b17c1baf1935|Sun StorageTek A3500 FC Array
2a8022d4-0a18-11d6-8043-ee5a180fdb7f|Sun StorageTek A3500 Array

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback