Skip to main content

How to list your HBA devices in Solaris

Just setup my old Sun Fire 280R server. Then try to identify my HBA card; after do some googling this is the command.


# fcinfo hba-port

HBA Port WWN: 21000003ba17fc67
        OS Device Name: /dev/cfg/c2
        Manufacturer: QLogic Corp.
        Model: 2200
        Firmware Version: 02.01.145
        FCode/BIOS Version: ISP2200 FC-AL Host Adapter Driver: 1.12 01/01/16
        Serial Number: not available
        Driver Name: qlc
        Driver Version: 20110321-3.05
        Type: L-port
        State: online
        Supported Speeds: 1Gb
        Current Speed: 1Gb
        Node WWN: 20000003ba17fc67
HBA Port WWN: 10000000c942375b
        OS Device Name: /dev/cfg/c1
        Manufacturer: Emulex
        Model: LP9802
        Firmware Version: 1.92a1 (H2D1.92A1)
        FCode/BIOS Version: Boot:none Fcode:none
        Serial Number: BG44237477
        Driver Name: emlxs
        Driver Version: 2.60k (2011.03.24.16.45)
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 20000000c942375b


Comments

Popular posts from this blog

SQL Tips : EXTRACT function as alternative to TO_CHAR

You want to create a sql to list data group in year (datetime datatype). Example as below : The table is smp.SC03F_TEMP with over 10 million rows. Usually, if there something deals with date we will use to_char function. As an alternative, you can use extract function to extract certain part of the date. In belows example, we extract the year of a column. As we can see the time taken is almost half for 10 million rows. Happy trying. select count(*) from smp.SC03F_TEMP; -- 10,866,921 records select count(*), to_char(A.SC03TARIKH, 'YYYY') from smp.SC03F_TEMP a group by to_char(A.SC03TARIKH, 'YYYY'); -- Time taken 54sec