-->

DEVOPSZONES

  • Recent blogs

    Check Qlogic Devices. HBA Information

    Check Qlogic Devices. HBA Information


    Check Qlogic Devices:

    [root@server.example.com ~]# lspci | grep -i qlo
    0b:00.0 Fibre Channel: QLogic Corp. Device 2261 (rev 01)
    0c:00.0 Fibre Channel: QLogic Corp. Device 2261 (rev 01)
    [root@server.example.com ~]#

    Check if the module loaded during boot.

    [root@server.example.com ~]# dmesg | grep -i qlo
    qla2xxx [0000:00:00.0]-0005: QLogic Fibre Channel HBA Driver: 8.07.00.26.06.8-k.
    qla2xxx [0000:0b:00.0]-00fb:6: QLogic QLE2690 - QLE2690 Single Port 16Gb FC to PCIe Gen3 x8 Adapter.
    qla2xxx [0000:0c:00.0]-00fb:7: QLogic QLE2690 - QLE2690 Single Port 16Gb FC to PCIe Gen3 x8 Adapter.
    [root@server.example.com ~]#

    Check the Kernel Deriver in use.

    [root@server.example.com ~]# lspci -v -s 0b:00.0
    0b:00.0 Fibre Channel: QLogic Corp. Device 2261 (rev 01)
            Subsystem: QLogic Corp. Device 02a7
            Flags: bus master, fast devsel, latency 0, IRQ 40
            Memory at 91f02000 (64-bit, prefetchable) [size=4K]
            Memory at 91f00000 (64-bit, prefetchable) [size=8K]
            Memory at 91e00000 (64-bit, prefetchable) [size=1M]
            Expansion ROM at 91f40000 [disabled] [size=256K]
            Capabilities: [44] Power Management version 3
            Capabilities: [4c] Express Endpoint, MSI 00
            Capabilities: [88] Vital Product Data
            Capabilities: [90] MSI-X: Enable+ Count=16 Masked-
            Capabilities: [9c] Vendor Specific Information: Len=0c <?>
            Capabilities: [100] Advanced Error Reporting
            Capabilities: [154] Alternative Routing-ID Interpretation (ARI)
            Capabilities: [1c0] #19
            Capabilities: [1f4] Vendor Specific Information: ID=0001 Rev=1 Len=014 <?>
            Kernel driver in use: qla2xxx --- Driver Details
            Kernel modules: qla2xxx -- Loaded Module

    [root@server.example.com ~]#

    Find Out the Hosts. Then Info On Hosts

    There are 2 devices in this machiene
    [root@server.example.com ~]# systool -c fc_host
    Class = "fc_host"

      Class Device = "host6"
        Device = "host6"

      Class Device = "host7"
        Device = "host7"


    Information about "host6"

    [root@server.example.com ~]# systool -c fc_host -v "host6"
    Class = "fc_host"

      Class Device = "host6"
      Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:0b:00.0/host6/fc_host/host6"
        dev_loss_tmo        = "30"
        fabric_name         = "0x100000053341xxxx"
        issue_lip           = <store method only>
        max_npiv_vports     = "254"
        node_name           = "0x20000024ff1xxxx"
        npiv_vports_inuse   = "0"
        port_id             = "0x010600"
        port_name           = "0x21000024ff1xxxx"
        port_state          = "Online"  
        port_type           = "NPort (fabric via point-to-point)"
        speed               = "8 Gbit"
        supported_classes   = "Class 3"
        supported_speeds    = "8 Gbit, 16 Gbit"
        symbolic_name       = "QLE2690 FW:v8.03.05 DVR:v8.07.00.26.06.8-k"
        system_hostname     = ""
        tgtid_bind_type     = "wwpn (World Wide Port Name)"
        uevent              =
        vport_create        = <store method only>
        vport_delete        = <store method only>

        Device = "host6"
        Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:0b:00.0/host6"
          fw_dump             =
          fw_dump_template    = "c"
          nvram               = "ISP "
          optrom              =
          optrom_ctl          = <store method only>
          reset               = <store method only>
          sfp                 = ""
          uevent              = "DEVTYPE=scsi_host"
          vpd                 = "▒3"


    [root@server.example.com ~]#

    No comments