diff options
author | NeilBrown <neilb@suse.de> | 2014-03-08 11:35:34 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-03-11 12:03:05 -0400 |
commit | 2204097a0a960c88658e28a688eca58c9c5722e4 (patch) | |
tree | b671aa20e2a99163f244b540b0621283ebae33cd /utils/statd/statd.man | |
parent | 0f62f94ac6304c5c030ae9eecf5a933c1c2b543a (diff) | |
download | nfs-utils-2204097a0a960c88658e28a688eca58c9c5722e4.tar.gz nfs-utils-2204097a0a960c88658e28a688eca58c9c5722e4.tar.xz nfs-utils-2204097a0a960c88658e28a688eca58c9c5722e4.zip |
statd: add options to set port number of lockd
Even though lockd is a totally separate process to statd, they
depended on each other: statd much be running for lockd to be useful.
So an easy way to set the port numbers used by lockd is to get statd
to set them.
This patch add --nlm-port and --nlm-tcp-port to that end.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/statd/statd.man')
-rw-r--r-- | utils/statd/statd.man | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/utils/statd/statd.man b/utils/statd/statd.man index c3c5354..896c2f8 100644 --- a/utils/statd/statd.man +++ b/utils/statd/statd.man @@ -12,7 +12,11 @@ .SH NAME rpc.statd \- NSM service daemon .SH SYNOPSIS -.BI "rpc.statd [-dh?FLNvV] [-H " prog "] [-n " my-name "] [-o " outgoing-port "] [-p " listener-port "] [-P " path " ] +.BI "rpc.statd [-dh?FLNvV] [-H " prog "] [-n " my-name "] [-o " outgoing-port ] +.ti +10 +.BI "[-p " listener-port "] [-P " path ] +.ti +10 +.BI "[--nlm-port " port "] [--nlm-udp-port " port ] .SH DESCRIPTION File locks are not part of persistent file system state. Lock state is thus lost when a host reboots. @@ -225,7 +229,23 @@ if gets port succeed, set the same port for all listener socket, otherwise chooses a random ephemeral port for each listener socket. .IP This option can be used to fix the port value of its listeners when -SM_NOTIFY requests must traverse a firewall between clients and servers. +SM_NOTIFY requests must traverse a firewall between clients and +servers. +.TP +.BI "\-T," "" " \-\-nlm\-port " port +Specifies the port number that +.I lockd +should listen on for +.B NLM +requests. This sets both the TCP and UDP ports unless the UDP port is +set separately. +.TP +.BI "\-U," "" " \-\-nlm\-udp\-port " port +Specifies the UDP port number that +.I lockd +should listen on for +.B NLM +requests. .TP .BI "\-P, " "" \-\-state\-directory\-path " pathname Specifies the pathname of the parent directory |