Bug 1398397 - Storage Admin Guide suggests setting LOCKD_TCPPORT and LOCKD_UDPPORT in /etc/sysconfig/nfs instead of /etc/modprobe.d/lockd.conf
Summary: Storage Admin Guide suggests setting LOCKD_TCPPORT and LOCKD_UDPPORT in /etc/...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-Storage_Administration_Guide
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Milan Navratil
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 16:59 UTC by Milan Navratil
Modified: 2020-01-17 16:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-22 23:52:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Milan Navratil 2016-11-24 16:59:31 UTC
Document URL: 

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/nfs-serverconfig.html

Section Number and Name: 

8.7. NFS Server Configuration

Donald Sarratt wrote:

The section suggests setting LOCKD_TCPPORT and LOCKD_UDPPORT in /etc/sysconfig/nfs to specify the ports used by the nlockmgr service.

This doesn't seem to work for me, as mentioned in /etc/sysconfig/nfs itself I had to set the parameters in /etc/modprobe.d/lockd.conf instead. Should the documentation be updated to reflect this?

Comment 1 Milan Navratil 2016-11-24 17:06:24 UTC
Hi Steve,

Could you please have a look at section 8.7. NFS Server Configuration and let me know what we should change based on the customer's feedback?

Thank you very much.

Comment 3 Steve Dickson 2016-12-05 17:22:48 UTC
(In reply to Milan Navratil from comment #1)
> Hi Steve,
> 
> Could you please have a look at section 8.7. NFS Server Configuration and
> let me know what we should change based on the customer's feedback?
> 
> Thank you very much.

Yeap that has been changed when we moved to the upstream systemd services.

/etc/sysconfig/nfs now states:
#
#
# To set lockd kernel module parameters please see
#  /etc/modprobe.d/lockd.conf
#

and /etc/modprobe.d/lockd.conf

#
# Set the NFS lock manager grace period. n is measured in seconds. 
#options lockd nlm_grace_period=90
#
# Set the TCP port that the NFS lock manager should use. 
# port must be a valid TCP port value (1-65535).
#options lockd nlm_tcpport
#
# Set the UDP port that the NFS lock manager should use.
# port must be a valid UDP port value (1-65535).
#options lockd nlm_udpport
#
# Set the maximum number of outstanding connections 
#options lockd nlm_max_connections=1024
#
# Set the default time value for the NFS lock manager
# in seconds. Default is 10 secs (min 3 max 20)
#options lockd nlm_timeout=10
#
# Choose whether to record the caller_name or IP address
# this peer in the local rpc.statd's database.
#options lockd nsm_use_hostnames=0


Note You need to log in before you can comment on or make changes to this bug.