{"id":2702,"date":"2022-12-20T15:17:04","date_gmt":"2022-12-20T18:17:04","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/rpc-nfsd-man8\/"},"modified":"2022-12-20T15:17:04","modified_gmt":"2022-12-20T18:17:04","slug":"rpc-nfsd-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/rpc-nfsd-man8\/","title":{"rendered":"rpc.nfsd (man8)"},"content":{"rendered":"<h1 align=\"center\">rpc.nfsd<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#CONFIGURATION FILE\">CONFIGURATION FILE<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">rpc.nfsd \u2212 NFS server process<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/usr\/sbin\/rpc.nfsd [<\/b><i>options<\/i><b>] nproc<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>rpc.nfsd<\/b> program implements the user level part of the NFS service. The main functionality is handled by the <b>nfsd<\/b> kernel module. The user space program merely specifies what sort of sockets the kernel service should listen on, what NFS versions it should support, and how many kernel threads it should use.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>rpc.mountd<\/b> server provides an ancillary service needed to satisfy mount requests by NFS clients.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d or \u2212\u2212debug<\/b><\/p>\n<p style=\"margin-left:22%;\">enable logging of debugging messages<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212H or \u2212\u2212host hostname<\/b><\/p>\n<p style=\"margin-left:22%;\">specify a particular hostname (or address) that NFS requests will be accepted on. By default, <b>rpc.nfsd<\/b> will accept NFS requests on all known network addresses. Note that <b>lockd<\/b> (which performs file locking services for NFS) may still accept request on all known network addresses. This may change in future releases of the Linux Kernel. This option can be used multiple time to listen to more than one interface.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p or \u2212\u2212port port<\/b><\/p>\n<p style=\"margin-left:22%;\">specify a different port to listen on for NFS requests. By default, <b>rpc.nfsd<\/b> will listen on port 2049.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212r or \u2212\u2212rdma<\/b><\/p>\n<p style=\"margin-left:22%;\">specify that NFS requests on the standard RDMA port (&#8220;nfsrdma&#8221;, port 20049) should be honored.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rdma=<\/b><i>port<\/i><\/p>\n<p style=\"margin-left:22%;\">Listen for RDMA requests on an alternate port &#8211; may be a number or a name listed in <b>\/etc\/services<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212N or \u2212\u2212no-nfs-version vers<\/b><\/p>\n<p style=\"margin-left:22%;\">This option can be used to request that <b>rpc.nfsd<\/b> does not offer certain versions of NFS. The current version of <b>rpc.nfsd<\/b> can support major NFS versions 2,3,4 and the minor versions 4.0, 4.1 and 4.2.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212s or \u2212\u2212syslog<\/b><\/p>\n<p style=\"margin-left:22%;\">By default, <b>rpc.nfsd<\/b> logs error messages (and debug messages, if enabled) to stderr. This option makes <b>rpc.nfsd<\/b> log these messages to syslog instead. Note that errors encountered during option processing will still be logged to stderr regardless of this option.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212t or \u2212\u2212tcp<\/b><\/p>\n<p style=\"margin-left:22%;\">Instruct the kernel nfs server to open and listen on a TCP socket. This is the default.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212T or \u2212\u2212no-tcp<\/b><\/p>\n<p style=\"margin-left:22%;\">Instruct the kernel nfs server not to open and listen on a TCP socket.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212u or \u2212\u2212udp<\/b><\/p>\n<p style=\"margin-left:22%;\">Instruct the kernel nfs server to open and listen on a UDP socket.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212U or \u2212\u2212no-udp<\/b><\/p>\n<p style=\"margin-left:22%;\">Instruct the kernel nfs server not to open and listen on a UDP socket. This is the default.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V or \u2212\u2212nfs-version vers<\/b><\/p>\n<p style=\"margin-left:22%;\">This option can be used to request that <b>rpc.nfsd<\/b> offer certain versions of NFS. The current version of <b>rpc.nfsd<\/b> can support major NFS versions 2,3,4 and the minor versions 4.0, 4.1 and 4.2.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212L or \u2212\u2212lease-time seconds<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the lease-time used for NFSv4. This corresponds to how often clients need to confirm their state with the server. Valid range is from 10 to 3600 seconds.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212G or \u2212\u2212grace-time seconds<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the grace-time used for NFSv4 and NLM (for NFSv2 and NFSv3). New file open requests (NFSv4) and new file locks (NLM) will not be allowed until after this time has passed to allow clients to recover state.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><i>nproc<\/i><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p>specify the number of NFS server threads. By default, eight threads are started. However, for optimum performance several threads should be used. The actual figure depends on the number of and the work load created by the NFS clients, but a useful starting point is eight threads. Effects of modifying that number can be checked using the <b>nfsstat<\/b>(8) program.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that if the NFS server is already running, then the options for specifying host, port, and protocol will be ignored. The number of processes given will be the only option considered, and the number of active <b>nfsd<\/b> processes will be increased or decreased to match this number. In particular <b>rpc.nfsd 0<\/b> will stop all threads and thus close any open connections.<\/p>\n<h2>CONFIGURATION FILE <a name=\"CONFIGURATION FILE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Many of the options that can be set on the command line can also be controlled through values set in the <b>[nfsd]<\/b> section of the <i>\/etc\/nfs.conf<\/i> configuration file. Values recognized include: <b><br \/> threads<\/b><\/p>\n<p style=\"margin-left:22%;\">The number of threads to start.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>host<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>A host name, or comma separated list of host names, that <i>rpc.nfsd<\/i> will listen on. Use of the <b>&#8211;host<\/b> option replaces all host names listed here.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>grace-time<\/b><\/p>\n<p style=\"margin-left:22%;\">The grace time, for both NFSv4 and NLM, in seconds.<\/p>\n<p style=\"margin-left:11%;\"><b>lease-time<\/b><\/p>\n<p style=\"margin-left:22%;\">The lease time for NFSv4, in seconds.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>port<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Set the port for TCP\/UDP to bind to.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>rdma<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Enable RDMA port (with &#8220;on&#8221; or &#8220;yes&#8221; etc) on the standard port (&#8220;nfsrdma&#8221;, port 20049).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>rdma-port<\/b><\/p>\n<p style=\"margin-left:22%;\">Set an alternate RDMA port.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>UDP<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p>Enable (with &#8220;on&#8221; or &#8220;yes&#8221; etc) or disable (&#8220;off&#8221;, &#8220;no&#8221;) UDP support.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>TCP<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p>Enable or disable TCP support.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>vers2<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>vers3<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>vers4<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p>Enable or disable a major NFS version. 3 and 4 are normally enabled by default.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>vers4.1 <br \/> vers4.2<\/b><\/p>\n<p style=\"margin-left:22%;\">Setting these to &#8220;off&#8221; or similar will disable the selected minor versions. Setting to &#8220;on&#8221; will enable them. The default values are determined by the kernel, and usually minor versions default to being enabled once the implementation is sufficiently complete.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">If the program is built with TI-RPC support, it will enable any protocol and address family combinations that are marked visible in the <b>netconfig<\/b> database.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsd<\/b>(7), <b>rpc.mountd<\/b>(8), <b>exports<\/b>(5), <b>exportfs<\/b>(8), <b>nfs.conf<\/b>(5), <b>rpc.rquotad<\/b>(8), <b>nfsstat<\/b>(8), <b>netconfig(5).<\/b><\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Olaf Kirch, Bill Hawes, H. J. Lu, G. Allan Morris III, and a host of others.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  rpc.nfsd \u2212 NFS server process <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,56],"class_list":["post-2702","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-nfsd"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2702"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2702\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}