Feature Request: RDMA Support

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
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Sounds like you want to raise a feature request (which you can do via the Report a Bug link at the top of the site... just set the type to feature request once you're there in Jira)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
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".
Cron tasks can run as root... a cron task or startup/postinit script could do that automatically...
 
Top