Forum Stats

  • 3,780,572 Users
  • 2,254,410 Discussions
  • 7,879,386 Comments

Discussions

Unable to detect storage LUNs attached to QLogic HBA on Oracle Linux 7.9

user12024388
user12024388 Member Posts: 23 Bronze Badge

Hello!

I have installed Oracle Linux 7.9 on the server what connected to datastorage with QLogic HBA. That is a fresh installation on brand new hardware. And I have a problem just from the start. My problem is that Oracle Linux 7.9 can't detect and show up disks/luns from datastorage attached to QLogic HBA. A connectivity between QLogic HBA and datastorage is established and I can see QLogic HBA WWN in datastorage control panel, but disks/luns are not shown in operating system.

I have also tried to install Microsoft Windows Server 2016 on that hardware. The result is fine - everything is working, luns are detectable and accessible. So it's not hardware problem.

Trying to resolve a problems I was searching such symptoms on Internet forums but was not been succeeded in finding anything for Oracle Linux 7.9.

But I found same symptoms for Red Hat Linux versions greater then 7.4 installed on the hardware with QLogic HBA.

This: https://access.redhat.com/solutions/3549832 and this: https://access.redhat.com/solutions/3776921

In these posts people were not able to detect their luns after upgrade to RHEL 7.5 or 7.6. I am not the customer of Red Hat, so I can't access to the solution provided by Red Hat.

But I very do believe that a root of the cause is the same for Oracle Linux 7.9 as for RHEL.

So I need a help, because I don't know how to overcome this.

Hope your help.

«1

Answers

  • Nik
    Nik Member Posts: 2,849 Bronze Crown

    Hi.

    Show result for this commands. ( At same order).

    cat /proc/scsi/scsi
    ls /sys/class/fc_host/host*/issue_lip
    for f in /sys/class/fc_host/host*/issue_lip ; do echo 1 > $f ; done
    for f in /sys/class/fc_host/host*/port_state ; do echo $f ; cat $f ; done
    
    cat /proc/scsi/scsi
    

    Regards,

    Nik

  • user12024388
    user12024388 Member Posts: 23 Bronze Badge

    Hi, Nik!


    # cat /proc/scsi/scsi

    Attached devices:

    Host: scsi1 Channel: 02 Id: 00 Lun: 00

     Vendor: AVAGO   Model: MR9361-8i       Rev: 4.68

     Type:  Direct-Access                   ANSI SCSI revision: 05

    Host: scsi1 Channel: 02 Id: 01 Lun: 00

     Vendor: AVAGO   Model: MR9361-8i       Rev: 4.68

     Type:  Direct-Access                   ANSI SCSI revision: 05

    Host: scsi0 Channel: 00 Id: 00 Lun: 00

     Vendor: TS-RDF5A Model: Transcend       Rev: 0007

     Type:  Direct-Access                   ANSI SCSI revision: 06

    Host: scsi17 Channel: 00 Id: 00 Lun: 00

     Vendor: AMI     Model: Virtual CDROM0  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 01

     Vendor: AMI     Model: Virtual CDROM1  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 02

     Vendor: AMI     Model: Virtual CDROM2  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 03

     Vendor: AMI     Model: Virtual CDROM3  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 00

     Vendor: AMI     Model: Virtual HDisk0  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 01

     Vendor: AMI     Model: Virtual HDisk1  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 02

     Vendor: AMI     Model: Virtual HDisk2  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 03

     Vendor: AMI     Model: Virtual HDisk3  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00


    # ls /sys/class/fc_host/host*/issue_lip

    /sys/class/fc_host/host19/issue_lip /sys/class/fc_host/host8/issue_lip


    # for f in /sys/class/fc_host/host*/issue_lip ; do echo 1 > $f ; done

    -- output is empty, I see nothing


    # for f in /sys/class/fc_host/host*/port_state ; do echo $f ; cat $f ; done

    -- output is empty, I see nothing


    # cat /proc/scsi/scsi

    Attached devices:

    Host: scsi1 Channel: 02 Id: 00 Lun: 00

     Vendor: AVAGO   Model: MR9361-8i       Rev: 4.68

     Type:  Direct-Access                   ANSI SCSI revision: 05

    Host: scsi1 Channel: 02 Id: 01 Lun: 00

     Vendor: AVAGO   Model: MR9361-8i       Rev: 4.68

     Type:  Direct-Access                   ANSI SCSI revision: 05

    Host: scsi0 Channel: 00 Id: 00 Lun: 00

     Vendor: TS-RDF5A Model: Transcend       Rev: 0007

     Type:  Direct-Access                   ANSI SCSI revision: 06

    Host: scsi17 Channel: 00 Id: 00 Lun: 00

     Vendor: AMI     Model: Virtual CDROM0  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 01

     Vendor: AMI     Model: Virtual CDROM1  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 02

     Vendor: AMI     Model: Virtual CDROM2  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 03

     Vendor: AMI     Model: Virtual CDROM3  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 00

     Vendor: AMI     Model: Virtual HDisk0  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 01

     Vendor: AMI     Model: Virtual HDisk1  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 02

     Vendor: AMI     Model: Virtual HDisk2  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 03

     Vendor: AMI     Model: Virtual HDisk3  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00


    Best regards.

  • Nik
    Nik Member Posts: 2,849 Bronze Crown

    Hi.

    Some results not as expected. I see that you have 2 FC ports.

    Try do next:

    echo 1 > /sys/class/fc_host/host19/issue_lip
    echo 1 > /sys/class/fc_host/host8/issue_lip
    
    
    more /sys/class/fc_host/host19/port_state
    more /sys/class/fc_host/host8/port_state
    lspci | grep -i qlogic
    more /proc/scsi/scsi
    

    Also You can try boot linux with other kernel. ( Select at GRUB at boot time)

    ( You have 2 kernel: uncrackable and rhel kernel)


    Regards,

    Nik

  • user12024388
    user12024388 Member Posts: 23 Bronze Badge

    Here you are:

    # echo 1 > /sys/class/fc_host/host19/issue_lip

    -- output is empty, I see nothing

    # echo 1 > /sys/class/fc_host/host8/issue_lip

    -- output is empty, I see nothing


    # more /sys/class/fc_host/host19/port_state

    Online

    # more /sys/class/fc_host/host8/port_state

    Online


    # lspci | grep -i qlogic

    0000:d8:00.0 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02)

    0000:d8:00.1 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02)


    # more /proc/scsi/scsi

    Attached devices:

    Host: scsi1 Channel: 02 Id: 00 Lun: 00

     Vendor: AVAGO   Model: MR9361-8i       Rev: 4.68

     Type:  Direct-Access                   ANSI SCSI revision: 05

    Host: scsi1 Channel: 02 Id: 01 Lun: 00

     Vendor: AVAGO   Model: MR9361-8i       Rev: 4.68

     Type:  Direct-Access                   ANSI SCSI revision: 05

    Host: scsi0 Channel: 00 Id: 00 Lun: 00

     Vendor: TS-RDF5A Model: Transcend       Rev: 0007

     Type:  Direct-Access                   ANSI SCSI revision: 06

    Host: scsi17 Channel: 00 Id: 00 Lun: 00

     Vendor: AMI     Model: Virtual CDROM0  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 01

     Vendor: AMI     Model: Virtual CDROM1  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 02

     Vendor: AMI     Model: Virtual CDROM2  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi17 Channel: 00 Id: 00 Lun: 03

     Vendor: AMI     Model: Virtual CDROM3  Rev: 1.00

     Type:  CD-ROM                          ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 00

     Vendor: AMI     Model: Virtual HDisk0  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 01

     Vendor: AMI     Model: Virtual HDisk1  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 02

     Vendor: AMI     Model: Virtual HDisk2  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00

    Host: scsi18 Channel: 00 Id: 00 Lun: 03

     Vendor: AMI     Model: Virtual HDisk3  Rev: 1.00

     Type:  Direct-Access                   ANSI SCSI revision: 00


    Best regards.

  • Nik
    Nik Member Posts: 2,849 Bronze Crown

    Hi.

    Force_Lip do not resolve problem.

    Array direct connected to host or via FC-switch? What array model ?


    Show result for:

    ls /sys/class/fc_host/host*/device/rport*
    more /sys/class/fc_host/host*/port_speed
    
    

    Are You try other kernel?


    Regards,

    Nik

  • user12024388
    user12024388 Member Posts: 23 Bronze Badge

    # ls /sys/class/fc_host/host*/device/rport*

    ls: cannot access /sys/class/fc_host/host*/device/rport*: No such file or directory


    # more /sys/class/fc_host/host*/port_speed

    /sys/class/fc_host/host*/port_speed: No such file or directory


    I tried other kernel. The result is the same.

  • Nik
    Nik Member Posts: 2,849 Bronze Crown
    edited Dec 2, 2021 12:17PM

    Hi.

    Show result for:

      grep qla2 /var/log/messages
    

    Also try this workaround:

    https://support.hpe.com/hpesc/public/docDisplay?docId=a00069082en_us&docLocale=en_US

    Regards,

    Nik

  • user12024388
    user12024388 Member Posts: 23 Bronze Badge
    Here is results of grep qla2 /var/log/messages
    
    The workaround did not help me.
    
  • Nik
    Nik Member Posts: 2,849 Bronze Crown

    Hi.

    You have very old FW on FC card. (7.01.00)

    ( see error: unsupported FAC firmware)

    You should update at least FW v8.08.204.

    In case You have original Qlogic card - download FW from this: https://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/Defaultnewsearch.aspx


    In case you have some OEM Qlogic card ( from HP, Oracle etc) - use fw from vendor.

    Regards,

    Nik.

  • user12024388
    user12024388 Member Posts: 23 Bronze Badge
    edited Dec 2, 2021 2:22PM

    Thank you, Nik. I will try to update FW and post results later.

    Best regards.