Tuesday, February 8, 2011

Looking at another FC storage

Storage configuration is as under:

  • luxadm  -e port

4 HBAs are connected:
/devices/pci@1,700000/SUNW,qlc@0/fp@0,0:devctl                     CONNECTED
/devices/pci@1,700000/SUNW,qlc@0,1/fp@0,0:devctl                   CONNECTED
/devices/pci@13,700000/SUNW,qlc@0/fp@0,0:devctl                    CONNECTED
/devices/pci@13,700000/SUNW,qlc@0,1/fp@0,0:devctl                  CONNECTED

You can find out the WWN number of each HBA as under :


Pos AL_PA ID Hard_Addr Port WWN         Node WWN         Type
0     e1  4     e1     200700a0b832f4bd 200600a0b832f4bc 0x0  (Disk device)
1     1   7d    0      2100001b320b6958 2000001b320b6958 0x1f (Unknown Type,Host Bus Adapter)


Pos AL_PA ID Hard_Addr Port WWN         Node WWN         Type
0     e8  1     e8     200600a0b832f4bd 200600a0b832f4bc 0x0  (Disk device)
1     1   7d    0      2101001b322b6958 2001001b322b6958 0x1f (Unknown Type,Host Bus Adapter)


Pos AL_PA ID Hard_Addr Port WWN         Node WWN         Type
0     ef  0     ef     202400a0b83892c4 200400a0b83892c4 0x0  (Disk device)
1     1   7d    0      2100001b329bdf46 2000001b329bdf46 0x1f (Unknown Type,Host Bus Adapter)


Pos AL_PA ID Hard_Addr Port WWN         Node WWN         Type
0     e8  1     e8     203400a0b83892c4 200400a0b83892c4 0x0  (Disk device)
1     1   7d    0      2101001b32bbdf46 2001001b32bbdf46 0x1f (Unknown Type,Host Bus Adapter)


Additional info about HBAs including their speed can be found by issuing the following comand
  • fcinfo hba-ports
# fcinfo hba-port
HBA Port WWN: 2100001b320b6958
        OS Device Name: /dev/cfg/c1
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 05.03.02
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.08;
        Serial Number: 0402G00-0814437006
        Driver Name: qlc
        Driver Version: 20100301-3.00
        Type: L-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: 2000001b320b6958
HBA Port WWN: 2101001b322b6958
        OS Device Name: /dev/cfg/c2
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 05.03.02
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.08;
        Serial Number: 0402G00-0814437006
        Driver Name: qlc
        Driver Version: 20100301-3.00
        Type: L-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: 2001001b322b6958
HBA Port WWN: 2100001b329bdf46
        OS Device Name: /dev/cfg/c6
        Manufacturer: QLogic Corp.
        Model: 371-4325-01
        Firmware Version: 05.03.02
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402H00-1002804353
        Driver Name: qlc
        Driver Version: 20100301-3.00
        Type: L-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 4Gb
        Node WWN: 2000001b329bdf46
HBA Port WWN: 2101001b32bbdf46
        OS Device Name: /dev/cfg/c7
        Manufacturer: QLogic Corp.
        Model: 371-4325-01
        Firmware Version: 05.03.02
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.03; EFI: 2.01;
        Serial Number: 0402H00-1002804353
        Driver Name: qlc
        Driver Version: 20100301-3.00
        Type: L-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 4Gb
        Node WWN: 2001001b32bbdf46

You can find out which disk are attached to which HBA by the following command:

(where P is WWN of the HBA port found by luxadm dump_map command or fcinfo hba_port command)
  • fcinfo remote-port -sl -p 2100001b320b6958
Remote Port WWN: 200700a0b832f4bd
        Active FC4 Types:
        SCSI Target: yes
        Node WWN: 200600a0b832f4bc
        Link Error Statistics:
                Link Failure Count: 3
                Loss of Sync Count: 9
                Loss of Signal Count: 133
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 0
                Invalid CRC Count: 0
        LUN: 0
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c1t4d0s2
        LUN: 1
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c1t4d1s2
        LUN: 2
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c1t4d2s2
        LUN: 3
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c1t4d3s2

  • # fcinfo remote-port -sl  -p  2101001b32bbdf46
Remote Port WWN: 203400a0b83892c4
        Active FC4 Types:
        SCSI Target: yes
        Node WWN: 200400a0b83892c4
        Link Error Statistics:
                Link Failure Count: 13
                Loss of Sync Count: 2167
                Loss of Signal Count: 3158
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 0
                Invalid CRC Count: 0
        LUN: 0
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c7t1d0s2
        LUN: 1
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c7t1d1s2
        LUN: 2
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c7t1d2s2
        LUN: 3
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c7t1d3s2
  • # fcinfo remote-port -sl -p 2101001b322b6958
Remote Port WWN: 200600a0b832f4bd
        Active FC4 Types:
        SCSI Target: yes
        Node WWN: 200600a0b832f4bc
        Link Error Statistics:
                Link Failure Count: 3
                Loss of Sync Count: 9
                Loss of Signal Count: 69
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 0
                Invalid CRC Count: 0
        LUN: 0
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c2t1d0s2
        LUN: 1
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c2t1d1s2
        LUN: 2
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c2t1d2s2
        LUN: 3
          Vendor: SUN
          Product: CSM200_R
          OS Device Name: /dev/rdsk/c2t1d3s2
  • # fcinfo remote-port -sl -p 2100001b329bdf46
Remote Port WWN: 202400a0b83892c4
        Active FC4 Types:
        SCSI Target: yes
        Node WWN: 200400a0b83892c4
        Link Error Statistics:
                Link Failure Count: 10
                Loss of Sync Count: 1776
                Loss of Signal Count: 3331
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 0
                Invalid CRC Count: 0
        LUN: 0
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c6t0d0s2
        LUN: 1
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c6t0d1s2
        LUN: 2
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c6t0d2s2
        LUN: 3
          Vendor: SUN
          Product: LCSM100_F
          OS Device Name: /dev/rdsk/c6t0d3s

The above output shows that each HBA has four disk attached
1 HBA : 200700a0b832f4bd : c1t4do-d3
2 HBA : 203400a0b83892c4:  c7t1d0-d3
3 HBA :200600a0b832f4bd: c2t1d0-d3
4 HBA: 202400a0b83892c4:  c6t0d0-d3

On the storage side:
There are two arrays:
One is 6140 with 1.7 terabytes of storage with a total of 13 disk each of 136 GB . It has two controllers
6140 is divided into four volumes of 442GB each. Two volumes are connected to controller A and two are connected to controller B.
Each controller has 2 ports. However, the link of only port per controller is up
The wwn of the port that is up on Controller A (A/1) is
20:06:00:A0:B8:32:F4:BD
The wwn of the port that is up on controller B (B/1)is
20:07:00:A0:B8:32:F4:BD

The second storage is 2540 with 1.6 TB of storage with a total of 12 SAS disk each of 136 GB. It consist of single controller.The link of both ports on the controller are active.
The WWN of the first port of the controller (A/1) is
20:24:00:A0:B8:38:92:C4
the WWN of the second port of the controller (A/2) is oth the
20:34:00:A0:B8:38:92:C4
2540 consist of 4 volumes each of 408 GB

Combining info about storage and HBA info on server side.
c1t4 disk and c2t1 disks are from 6140.
c7t1 and c6t0 are disks from 2150. These two disk are from single controller and are identical.

No comments:

Post a Comment