Monday, July 4, 2011

Solaris command to check fibre channel HBA and remote storage

# fcinfo hba-port -l 2100001b321a7a65
HBA Port WWN: 2100001b321a7a65
        OS Device Name: /dev/cfg/c3
        Manufacturer: QLogic Corp.
        Model: 375-3294-01
        Firmware Version: 05.01.02
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.08;
        Serial Number: 0402R00-0838521980
        Driver Name: qlc
        Driver Version: 20090929-2.32
        Type: L-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 2Gb
        Node WWN: 2000001b321a7a65
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 0
                Loss of Signal Count: 0
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 0
                Invalid CRC Count: 0





# fcinfo remote-port -slp 2100001b321a7a65
Remote Port WWN: 216000c0ff8bd2a0
        Active FC4 Types:
        SCSI Target: yes
        Node WWN: 206000c0ff0bd2a0
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 21
                Loss of Signal Count: 21
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 2
                Invalid CRC Count: 0
        LUN: 0
          Vendor: SUN
          Product: StorEdge 3510
          OS Device Name: /dev/rdsk/c3t40d0s2
        LUN: 1
          Vendor: SUN
          Product: StorEdge 3510
          OS Device Name: /dev/rdsk/c3t40d1s2

No comments:

Post a Comment