On 25.11.2014 11:14, Ian Chapman wrote:
Hi,
Is anyone successfully running NFS over RDMA on Fedora 20+?
I've edited /etc/sysconfig/nfs and set the the following config paramter.
RDMA_PORT=20049
Upon restarting the nfs server I get the following:
modprobe: FATAL: Module svcrdma not found
/usr/libexec/nfs-utils/scripts/nfs-server.postconfig: line 12: echo:
write error: Protocol not supported
So it looks like the kernel module svcrdma is missing and the last
kernel to have it was 3.11.10-301.fc20. The postconfig script belongs to
nfs-utils.
Is svcrdma intentionally not built in the current kernels or has it been
replaced by something else?
$ file *
kernel-3.14.25-100.fc19.x86_64.rpm: RPM v3.0 bin i386/x86_64
kernel-3.14.25-100.fc19
kernel-3.15.0-0.rc0.git12.1.fc21.x86_64.rpm: RPM v3.0 bin i386/x86_64
kernel-3.15.0-0.rc0.git12.1.fc21
kernel-3.15.0-0.rc0.git9.1.fc21.x86_64.rpm: RPM v3.0 bin i386/x86_64
kernel-3.15.0-0.rc0.git9.1.fc21
$ deco *
236767 blocks
kernel-3.14.25-100.fc19.x86_64/
254129 blocks
kernel-3.15.0-0.rc0.git12.1.fc21.x86_64/
251879 blocks
kernel-3.15.0-0.rc0.git9.1.fc21.x86_64/
$ find -name svcrdma.ko*
./kernel-3.14.25-100.fc19.x86_64/lib/modules/3.14.25-100.fc19.x86_64/kernel/net/sunrpc/xprtrdma/svcrdma.ko
./kernel-3.15.0-0.rc0.git9.1.fc21.x86_64/lib/modules/3.15.0-0.rc0.git9.1.fc21.x86_64/kernel/net/sunrpc/xprtrdma/svcrdma.ko
$ find -name config* -exec grep -H CONFIG_SUNRPC_XPRT_RDMA_SERVER {} \;
./kernel-3.15.0-0.rc0.git12.1.fc21.x86_64/boot/config-3.15.0-0.rc0.git12.1.fc21.x86_64:#
CONFIG_SUNRPC_XPRT_RDMA_SERVER is not set
┌───────────────────── RPC over RDMA Server Support ──────────────────────┐
│ CONFIG_SUNRPC_XPRT_RDMA_SERVER: │
│ │
│ This option allows the NFS server to support an RDMA-enabled │
│ transport. │
│ │
│ To compile RPC server RDMA transport support as a module, │
│ choose M here: the module will be called svcrdma. │
│ │
│ If unsure, say N. │
│ │
│ Symbol: SUNRPC_XPRT_RDMA_SERVER [=n] │
│ Type : tristate │
│ Prompt: RPC over RDMA Server Support │
│ Location: │
│ -> File systems │
│ -> Network File Systems (NETWORK_FILESYSTEMS [=y]) │
│ Defined at net/sunrpc/Kconfig:61 │
│ Depends on: NETWORK_FILESYSTEMS [=y] && SUNRPC [=m] && \
│
│ INFINIBAND [=m] && INFINIBAND_ADDR_TRANS [=y] │
│ │
└─────────────────────────────────────────────────────────────────────────┘