8–iWARP Configuration
Configuring iWARP on Linux
176
BC0154501-00 P
/tmp/nfs-server *(fsid=0,async,insecure,no_root_squash)
Ensure that you use a different file system identification (FSID) for each
directory that you export.
3.
Load the svcrdma module as follows:
#
modprobe svcrdma
4.
Load the service as follows:
For SLES, enable and start the NFS server alias:
#
systemctl enable|start|status nfsserver
For RHEL, enable and start the NFS server and services:
#
systemctl enable|start|status nfs
5.
Include the default RDMA port 20049 into this file as follows:
#
echo rdma 20049 > /proc/fs/nfsd/portlist
6.
To make local directories available for NFS clients to mount, issue the
exportfs
command as follows:
#
exportfs -v
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
NOTE
This procedure for NFS client configuration also applies to RoCE.