nfs issues in fedora 19

Ed Greshko Ed.Greshko at greshko.com
Mon Jul 8 05:29:44 UTC 2013


On 07/08/13 13:09, Amadeus W.M. wrote:
> I normally have an nfs server running on one of my machines. Now nfs 
> itself and the portmapper start on fixed ports, but the rpc services 
> start on random ports so they need to be assigned fixed ports in 
> /etc/sysconfig/nfs like so:
>
> LOCKD_TCPPORT=4000
> STATD_PORT=4002
> RQUOTAD_PORT=4003
> LOCKD_UDPPORT=4000
> MOUNTD_PORT=4001
>
>
>
> Sorry, I'm probably a few versions behind.
>
>

Yes, you are a few versions behind.....

This is the default /etc/sysconfig/nfs file in F19....

#
# Optinal options passed to rquotad
RPCRQUOTADOPTS=""
#
# Optional arguments passed to in-kernel lockd
#LOCKDARG=
# TCP port rpc.lockd should listen on.
#LOCKD_TCPPORT=32803
# UDP port rpc.lockd should listen on.
#LOCKD_UDPPORT=32769
#
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
RPCNFSDARGS=""
# Number of nfs server processes to be started.
# The default is 8.
RPCNFSDCOUNT=8
# Set V4 grace period in seconds
#NFSD_V4_GRACE=90
#
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
RPCMOUNTDOPTS=""
#
# Optional arguments passed to rpc.statd. See rpc.statd(8)
STATDARG=""
#
# Optional arguments passed to rpc.idmapd. See rpc.idmapd(8)
RPCIDMAPDARGS=""
#
# Optional arguments passed to rpc.gssd. See rpc.gssd(8)
RPCGSSDARGS=""
# Enable usage of gssproxy. See gssproxy-mech(8).
GSS_USE_PROXY="no"
#
# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
RPCSVCGSSDARGS=""
#
# To enable RDMA support on the server by setting this to
# the port the server should listen on
#RDMA_PORT=20049
#
# Optional arguments passed to blkmapd. See blkmapd(8)
BLKMAPDARGS=""
#

To change, for example, the mountd port you need to use the RPCMOUNTDOPTS= and pass -p ....  see the various man pages....



-- 
The only thing worse than a poorly asked question is a cryptic answer.


More information about the users mailing list