I need to open up an NFS export to allow client access using ports above 1024, normally this is achieved using the 'insecure' export option however I can't see any way to specify the option (or any options) in OneFS (6.5.5.23).
Does anyone know how to add export options? more specifically the insecure option?
Here is what you would need to change in order to allow NFS connections over unprivileged ports. Please note that this is not a supported configuration change and that I can only provide you with the information on how to do this.
Peter_Sero
6 Operator
•
1169 Posts
2814
0
Posted August 22nd, 2013 23:00
Not sure wether the /etc/defaults/rc.conf is relevant,
as other settings are obviously ignored, like:
nfs_server_enable="NO" # This host is an NFS server (or NO).
mountd_enable="NO" # Run mountd (or NO).
(FreeBSD stuff, not used by OneFS)
The /etc/mcp/sys/services/nfs stuff is the key,
doublecheck sysctl vfs.nfsrv.nfs_privport
afterwards (should be 1).
I don't think you need to reboot the cluster, just
isi_for_array killall -v mountd
should do.
-- Peter