Troubleshoot
Before troubleshooting any NVMe-oF failures for RHEL, OL, and SUSE Linux Enterprise Server hosts, verify that you are running a configuration that is compliant to the Interoperability Matrix Tool (IMT) specifications and then proceed with the next steps to debug any host side issues.
The troubleshooting instructions are not applicable for AIX, Windows, and ESXi hosts. |
Enable verbose logging
If you have an issue with your configuration, verbose logging can provide essential information for troubleshooting.
The procedure to set verbose logging for Qlogic (Qla2xxx) is different from the procedure to set LPFC verbose logging.
Set the lpfc driver for NVMe/FC.
-
Set the
lpfc_log_verbose
driver setting to any of the following values to log NVMe/FC events.#define LOG_NVME 0x00100000 /* NVME general events. */ #define LOG_NVME_DISC 0x00200000 /* NVME Discovery/Connect events. */ #define LOG_NVME_ABTS 0x00400000 /* NVME ABTS events. */ #define LOG_NVME_IOERR 0x00800000 /* NVME IO Error events. */
-
After setting the values, run the
dracut-f
command and reboot the host. -
Verify the settings.
# cat /etc/modprobe.d/lpfc.conf options lpfc lpfc_log_verbose=0xf00083 # cat /sys/module/lpfc/parameters/lpfc_log_verbose 15728771
There is no specific qla2xxx logging for NVMe/FC similar to that for the lpfc
driver. Instead, set the general qla2xxx logging level.
-
Append the
ql2xextended_error_logging=0x1e400000
value to the correspondingmodprobe qla2xxx conf
file. -
Execute the
dracut -f
command and then reboot the host. -
After reboot, verify that the verbose logging has been enabled:
# cat /etc/modprobe.d/qla2xxx.conf
Example output:
options qla2xxx ql2xnvmeenable=1 ql2xextended_error_logging=0x1e400000 # cat /sys/module/qla2xxx/parameters/ql2xextended_error_logging 507510784
Common nvme-cli errors and workarounds
The errors displayed by nvme-cli
during nvme discover
, nvme connect
, or nvme connect-all
operations and the workarounds are shown in the following table:
Error message | Probable cause | Workaround |
---|---|---|
|
Incorrect syntax |
Verify that you are using the correct syntax for the |
|
Multiple issues can trigger this, for example, |
|
|
Generally observed when the |
Verify that the exact |
|
Observed when the controller associations or specified operation is already created or in the process of being created. This could happen as part of the auto-connect scripts installed above. |
None. Try running the |
When to contact technical support
If you are still facing issues, collect the following files and command outputs and contact NetApp support for further triage:
cat /sys/class/scsi_host/host*/nvme_info /var/log/messages dmesg nvme discover output as in: nvme discover --transport=fc --traddr=nn-0x200a00a098c80f09:pn-0x200b00a098c80f09 --host-traddr=nn-0x20000090fae0ec9d:pn-0x10000090fae0ec9d nvme list nvme list-subsys /dev/nvmeXnY