1 |
On 2013-12-30 6:21 PM, Pavel Volkov <negaipub@×××××.com> wrote: |
2 |
>> I've tried specifying the ports in /etc/conf.d/nfs, and /etc |
3 |
>> >sysctl.conf, but I must be missing something, because every time I |
4 |
>> >reboot, some other port comes up being blocked when I try to mount the |
5 |
>> >shares... |
6 |
>> > |
7 |
>> >Anyone? The references I've found are older, so maybe there is something |
8 |
>> >new I'm missing? |
9 |
> Maybe you it's the lockd port: |
10 |
> |
11 |
> $ cat /etc/modprobe.d/lockd.conf |
12 |
> options lockd nlm_udpport=13003 nlm_tcpport=13003 |
13 |
|
14 |
According to the comment at the top of /etc/conf.d/nfs, the lockd ports |
15 |
are set at /etc/sysctl.conf, which I now have as: |
16 |
|
17 |
# You should compile nfsd into the kernel or add it |
18 |
# to modules.autoload for this to work properly |
19 |
# TCP Port for lock manager |
20 |
fs.nfs.nlm_tcpport = 4001 |
21 |
# UDP Port for lock manager |
22 |
fs.nfs.nlm_udpport = 4001 |
23 |
|
24 |
One other question... |
25 |
|
26 |
What service(s) do I need to restart after making a change to test (so I |
27 |
don't have to reboot every time)? |