Trying to run NVMe over IB client. Installed OFED 5.1-2.5.8.0 on RHEL 8.3 kernel 4.18.0-240.el8.x86_64 using "./mlnxofedinstall --with-nvmf --add-kernel-support" command. Failed to load nvme-rdma driver, getting a bunch of -22 errors in dmesg.

I did not re-compile the linux kernel with NVMe block device support. Questions. 1) Is this Linux/OFED combo supported for NVMe over IB operation? 2) Do I have to add the NVMe block device driver by re-building the Linux kernel?

Hi,

See the following links for a full description on how to configure NVME over fabrics and its prerequisites:

https://community.mellanox.com/s/article/howto-compile-linux-kernel-for-nvme-over-fabrics

https://community.mellanox.com/s/article/howto-configure-nvme-over-fabrics#jive_content_id_Prerequisites

You will find there all the answers to your questions.

Regards

Marc