Thursday, September 5, 2013

How to check HBA ports WWN on Solaris10 system


World wide name(WWN) for an adapter displayed in Solaris10 using command "fcinfo"

root@HOSTA#  fcinfo
Usage:  fcinfo -?,-V
Usage:  fcinfo  [-?]



-------------------------------------------------------------------
root@HOSTA# fcinfo hba-port
HBA Port WWN: 21000024ff2cd760
        OS Device Name: /dev/cfg/c1
        Manufacturer: QLogic Corp.
        Model: XXX-4325-XX
        Firmware Version: 4.04.01
        FCode/BIOS Version:  BIOS: 2.2; fcode: 2.3; EFI: 2.1;
        Serial Number: XXXXR00-10XXXX5006
        Driver Name: qlc
        Driver Version: 20XXXX17-2.29
        Type: N-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 4Gb
        Node WWN: 20000024ff2cd760
HBA Port WWN: 21000024ff2cd761
        OS Device Name: /dev/cfg/c2
        Manufacturer: QLogic Corp.
        Model: 371-XXXX-02
        Firmware Version: 4.04.01
        FCode/BIOS Version:  BIOS: 2.2; fcode: 2.3; EFI: 2.1;
        Serial Number: 0XXXR00-1XXXX85XX6
        Driver Name: qlc
        Driver Version: 2XXXX617-2.29
        Type: N-port
        State: online
        Supported Speeds: 2Gb 4Gb 8Gb
        Current Speed: 4Gb
        Node WWN: 20000024ff2cd761
-------------------------------------------------------------------
Show only WWN:

root@HOSTA# fcinfo hba-port
HBA Port WWN: 21000024ff2cd760
HBA Port WWN: 21000024ff2cd761