Update: T3 and Qlogic FC HBA issues

From: vinay.sequeira@maine.edu
Date: Wed Mar 30 2005 - 13:46:47 EST


Hi all,

I am able to see the right details of the 134GB driver in SANSurfer CLI. How I
do fix sd.conf , so that format displays the right values?. or How do I match
the output of the Sansurfer CLI to the right disk in the output of the format
command ?

Thanks for your help

Vinay

Format O/P:

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@0,0
       1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@1,0
       2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@23s,0
       3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@3,0
       4. c3t3d0 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@3,0
       5. c3t3d6 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@3,6
       6. c3t3d7 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@3,7
       7. c3t3d8 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@3,8
       8. c3t5d0 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@5,0
       9. c3t5d6 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@5,6
      10. c3t5d7 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@5,7
      11. c3t5d8 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@5,8
      12. c3t7d0 <SUN-T300-0201 cyl 35109 alt 2 hd 56 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@7,0
      13. c3t7d1 <SUN-T300-0201 cyl 35109 alt 2 hd 56 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@7,1
      14. c3t7d6 <SUN-T300-0201 cyl 58516 alt 2 hd 112 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@7,6
      15. c3t7d7 <SUN-T300-0201 cyl 58516 alt 2 hd 112 sec 32>
          /pci@1c,600000/SUNW,qlc@1/sd@7,7
      16. c4t2d0 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@2,0
      17. c4t2d6 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@2,6
      18. c4t2d7 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@2,7
      19. c4t2d8 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@2,8
      20. c4t5d0 <SUN-T300-0201 cyl 35109 alt 2 hd 56 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@5,0
      21. c4t5d1 <SUN-T300-0201 cyl 35109 alt 2 hd 56 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@5,1
      22. c4t5d6 <SUN-T300-0201 cyl 58516 alt 2 hd 112 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@5,6
      23. c4t5d7 <SUN-T300-0201 cyl 58516 alt 2 hd 112 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@5,7
      24. c4t6d0 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@6,0
      25. c4t6d6 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@6,6
      26. c4t6d7 <SUN-T300-0201 cyl 35109 alt 2 hd 112 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@6,7
      27. c4t6d8 <SUN-T300-0201 cyl 36572 alt 2 hd 224 sec 32>
          /pci@1d,700000/SUNW,qlc@1/sd@6,8
Specify disk (enter its number): 0

sequeira@ginger # more sd.conf
#
# Copyright (c) 1992, by Sun Microsystems, Inc.
#
#ident "@(#)sd.conf 1.9 98/01/11 SMI"

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=0;

name="sd" class="scsi" class_prop="atapi"
        target=1 lun=0;

name="sd" class="scsi" class_prop="atapi"
        target=2 lun=0;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=0;

name="sd" class="scsi"
        target=4 lun=0;

name="sd" class="scsi"
        target=5 lun=0;

name="sd" class="scsi"
        target=6 lun=0;

name="sd" class="scsi"
        target=8 lun=0;

name="sd" class="scsi"
        target=9 lun=0;

name="sd" class="scsi"
        target=10 lun=0;

name="sd" class="scsi"
        target=11 lun=0;

name="sd" class="scsi"
        target=12 lun=0;

name="sd" class="scsi"
        target=13 lun=0;

name="sd" class="scsi"
        target=14 lun=0;

name="sd" class="scsi"
        target=15 lun=0;
name="sd" parent="qla2300" target=0;

Some of the sd instances I see in prtconf -v o/p:
sd, instance #80
                Driver properties:
                    name='pm-hardware-state' type=string items=1 dev=none
                        value='needs-suspend-resume'
                    name='ddi-failfast-supported' type=boolean dev=none
                    name='ddi-kernel-ioctl' type=boolean dev=none
                Hardware properties:
                    name='devid' type=string items=1
                        value='id1,sd@w60020f200000754f3f939761000754d9'
                    name='inquiry-revision-id' type=string items=1
                        value='0201'
                    name='inquiry-product-id' type=string items=1
                        value='T300'
                    name='inquiry-vendor-id' type=string items=1
                        value='SUN'
                    name='inquiry-device-type' type=int items=1
                        value=00000000
                    name='lun' type=int items=1
                        value=00000007
                    name='target' type=int items=1
                        value=00000007
 name='port-wwn' type=byte items=8
                        value=50.02.0f.23.00.00.75.4f
                    name='node-wwn' type=byte items=8
                        value=50.02.0f.20.00.00.75.4f

            sd, instance #88
                Driver properties:
                    name='pm-hardware-state' type=string items=1 dev=none
                        value='needs-suspend-resume'
                    name='ddi-failfast-supported' type=boolean dev=none
                    name='ddi-kernel-ioctl' type=boolean dev=none
                Hardware properties:
                    name='devid' type=string items=1
                        value='id1,sd@w60020f200000754f42408206000e95f9'
                    name='inquiry-revision-id' type=string items=1
                        value='0201'
                    name='inquiry-product-id' type=string items=1
                        value='T300'
                    name='inquiry-vendor-id' type=string items=1
                        value='SUN'
                    name='inquiry-device-type' type=int items=1
                        value=00000000
                    name='lun' type=int items=1
                        value=00000001
                    name='target' type=int items=1
                        value=00000007
                    name='port-wwn' type=byte items=8
                        value=50.02.0f.23.00.00.75.4f
                    name='node-wwn' type=byte items=8
                        value=50.02.0f.20.00.00.75.4f

            sd, instance #50 (driver not attached)
                System properties:
                    name='lun' type=int items=1
                        value=00000000
                    name='target' type=int items=1
                        value=00000004
                    name='class' type=string items=1
                        value='scsi'
            sd, instance #51
                System properties:
                    name='lun' type=int items=1
                        value=00000000
                    name='target' type=int items=1
                        value=00000005
                    name='class' type=string items=1
                        value='scsi'
                Driver properties:
                    name='pm-hardware-state' type=string items=1 dev=none
                        value='needs-suspend-resume'
                    name='ddi-failfast-supported' type=boolean dev=none
                    name='ddi-kernel-ioctl' type=boolean dev=none
                Hardware properties:
                    name='devid' type=string items=1
                        value='id1,sd@w60020f200000754f424081ab000e7f70'
                    name='inquiry-revision-id' type=string items=1
                        value='0201'
                    name='inquiry-product-id' type=string items=1
                        value='T300'
                    name='inquiry-vendor-id' type=string items=1
                        value='SUN'
                    name='inquiry-device-type' type=int items=1
                        value=00000000

<snip>

SAN SURFER O/P for LUNS I NEED to access:

=== Attached Devices/LUNs Information ===========

-----------------------------------------------------------------------------
QLogic HBA 0 - QLA2310-SUN OS: 0 WWPN: 21-00-00-E0-8B-19-D5-64
-----------------------------------------------------------------------------
Path : 0
Target : 7
Device ID : 0x07
Port ID : 01-05-00
Product Vendor : SUN
Product ID : T300
Product Revision : 0201
Node Name : 50-02-0F-20-00-00-75-4F
Port Name : 50-02-0F-23-00-00-75-4F
Product Type : Disk
Number of LUN(s) : 4
Status : Online
-----------------------------------------------------------------------------
Product Vendor : SUN
Product ID : T300
Product Revision : 0201
LUN : 1
Size : 134.01 GB
WWULN : 60-02-0F-20-00-00-75-4F-42-40-82-06-00-0E-95-F9

Product Vendor : SUN
Product ID : T300
Product Revision : 0201
LUN : 6
Size : 100.01 GB
WWULN : 60-02-0F-20-00-00-75-4F-3F-93-96-E0-00-0B-B9-1B

Product Vendor : SUN
Product ID : T300
Product Revision : 0201
LUN : 0
Size : 134.01 GB
WWULN : 60-02-0F-20-00-00-75-4F-42-40-81-AB-00-0E-7F-70

Product Vendor : SUN
Product ID : T300
Product Revision : 0201
LUN : 7
Size : 100.01 GB
WWULN : 60-02-0F-20-00-00-75-4F-3F-93-97-61-00-07-54-D9
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:27 EDT