mohankchandrashekar
Cadet
- Joined
- Apr 1, 2023
- Messages
- 1
Team,
We have recently implemented TrueNAS Scale R20 system with RDMA. The middleware GUI will need an feature addition to enable RDMA port in NFS Server configuration page where a check box to enable RDMA and input the port number (default 20049). Upon click save, the middleware will need to regenerate /etc/nfs.conf with RPCNFSDOPTS updated as follows:
middleware/src/middlewared/middlewared/etc_files/default/nfs-kernel-server.mako
From:
# Options for rpc.nfsd.
RPCNFSDOPTS="${' '.join(nfsd_opts)}"
To:
# Options for rpc.nfsd.
RPCNFSDOPTS=" --rdma=20049 ${' '.join(nfsd_opts)}"
Currently this is a manual process where the appliance is rebooted, an admin has to login as admin, su root and run "echo rdma 20049 >
/proc/fs/nfsd/portlist". Any help is appreciated.
Thanks,
Mohan
We have recently implemented TrueNAS Scale R20 system with RDMA. The middleware GUI will need an feature addition to enable RDMA port in NFS Server configuration page where a check box to enable RDMA and input the port number (default 20049). Upon click save, the middleware will need to regenerate /etc/nfs.conf with RPCNFSDOPTS updated as follows:
middleware/src/middlewared/middlewared/etc_files/default/nfs-kernel-server.mako
From:
# Options for rpc.nfsd.
RPCNFSDOPTS="${' '.join(nfsd_opts)}"
To:
# Options for rpc.nfsd.
RPCNFSDOPTS=" --rdma=20049 ${' '.join(nfsd_opts)}"
Currently this is a manual process where the appliance is rebooted, an admin has to login as admin, su root and run "echo rdma 20049 >
/proc/fs/nfsd/portlist". Any help is appreciated.
Thanks,
Mohan