天天看点

Storage LUN connected on Emulex / Qlogica HBA not detecting during boot time.

环境

  • Red Hat Enterprise Linux 7
  • Emulex LPe12000 PCIe Fibre Channel Adapter
  • QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA

问题

  • Storage LUNs connected on ​

    ​Emulex or Qlogic HBA​

    ​ not detecting during boot time.
  • Device detect automatically after few minutes after server bootup.

决议

  • Explicitly set the port speed at SAN end to match with HBA speed.

诊断步骤

  • Check HBA speed using ​

    ​systool​

    ​.
Class Device = "host2"
  Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:05:00.1/host2/fc_host/host2"
    active_fc4s         = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 "
    dev_loss_tmo        = "30"
    fabric_name         = "0x10000027f885b773"
    issue_lip           = <store method only>
    max_npiv_vports     = "255"
    maxframe_size       = "2048 bytes"
    node_name           = "0x20000090fa52b83f"
    npiv_vports_inuse   = "0"
    port_id             = "0x824100"
    port_name           = "0x10000090fa52b83f"
    port_state          = "Online"
    port_type           = "NPort (fabric via point-to-point)"
    speed               = "4 Gbit"
    supported_classes   = "Class 3"
    supported_fc4s      = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 "
    supported_speeds    = "2 Gbit, 4 Gbit, 8 Gbit"
    symbolic_name       = "Emulex HP-LPe1205A FV2.03X6 DV10.2.8021.1"
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
    uevent              =
    vport_create        = <store method only>
    vport_delete        = <store method only>

    Device = "host2"
    Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:05:00.1/host2"
      uevent              = "DEVTYPE=scsi_host"      

继续阅读