7–iWARP Configuration
Configuring iWARP on Linux
95
AH0054601-00 B
4.
Include the default RDMA port 20049 into this file as follows:
#
echo rdma 20049 > /proc/fs/nfsd/portlist
5.
To make local directories available for NFS clients to mount, issue the
exportfs
command as follows:
#
exportfs -v
To configure the NFS client:
1.
Load the xprtrdma module as follows:
#
modprobe xprtrdma
2.
Mount the NFS file system as appropriate for your version:
For NFS Version 3:
#
mount -o rdma,port=20049 192.168.2.4:/tmp/nfs-server /tmp/nfs-client
For NFS Version 4:
#
mount -t nfs4 -o rdma,port=20049 192.168.2.4:/ /tmp/nfs-client
3.
Verify that the file system is mounted by issuing the
mount
command.
Ensure that the RDMA port and file system versions are correct.
#
mount |grep rdma
iWARP RDMA-Core Support on SLES 12 SP3, RHEL 7.4, and
OFED 4.8
x
The user space library libqedr is part of the rdma-core. However, the out-of-box
libqedr does not support SLES 12 SP3, RHEL 7.4, OFED 4.8
x
. Therefore, these
OS versions require a patch to support iWARP RDMA-Core.
To apply the iWARP RDMA-Core patch:
1.
To download the latest RDMA-core source, issue the following command:
#
git clone https://github.com/linux-rdma/rdma-core.git
NOTE
This procedure for NFS client configuration also applies to RoCE.
NOTE
The default port for NFSoRDMA is 20049. However, any other port that
is aligned with the NFS client will also work.