8–iWARP Configuration
Configuring iWARP on Linux
176
AH0054602-00 J
To configure the NFS client:
1.
Create an
nfs-client
directory and grant permission by issuing the
following commands:
#
mkdir /tmp/nfs-client
#
chmod 777 /tmp/nfs-client
2.
Load the xprtrdma module as follows:
#
modprobe xprtrdma
3.
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-server
/tmp/nfs-client
4.
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 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 or 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.