On 2013-12-30 6:21 PM, Pavel Volkov <negai...@gmail.com> wrote:
I've tried specifying the ports in /etc/conf.d/nfs, and /etc
>sysctl.conf, but I must be missing something, because every time I
>reboot, some other port comes up being  blocked when I try to mount the
>shares...
>
>Anyone? The references I've found are older, so maybe there is something
>new I'm missing?
Maybe you it's the lockd port:

$ cat /etc/modprobe.d/lockd.conf
options lockd nlm_udpport=13003 nlm_tcpport=13003

According to the comment at the top of /etc/conf.d/nfs, the lockd ports are set at /etc/sysctl.conf, which I now have as:

# You should compile nfsd into the kernel or add it
# to modules.autoload for this to work properly
# TCP Port for lock manager
fs.nfs.nlm_tcpport = 4001
# UDP Port for lock manager
fs.nfs.nlm_udpport = 4001

One other question...

What service(s) do I need to restart after making a change to test (so I don't have to reboot every time)?

Reply via email to