centos7.3固定nlockmgr端口,都是坑啊

Actual results:

cat /sys/module/lockd/parameters/nlm_tcpport

0

cat /sys/module/lockd/parameters/nlm_udpport

0

Expected results:

cat /sys/module/lockd/parameters/nlm_udpport

32769

cat /sys/module/lockd/parameters/nlm_tcpport

32803

Additional info:

Current workaround is as follows.

  1. Update newly added file /etc/modprobe.d/lockd.conf to nfs-utils as follows:

egrep 32[78] /etc/modprobe.d/lockd.conf

options lockd nlm_tcpport=32803
options lockd nlm_udpport=32769

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章