{"id":4505,"date":"2022-12-20T18:08:50","date_gmt":"2022-12-20T21:08:50","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nfs-conf-man5\/"},"modified":"2022-12-20T18:08:50","modified_gmt":"2022-12-20T21:08:50","slug":"nfs-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nfs-conf-man5\/","title":{"rendered":"NFS.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">NFS.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SECTIONS\">SECTIONS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">nfs.conf \u2212 general configuration for NFS daemons and tools<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/etc\/nfs.conf<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This file contains site-specific configuration for various NFS daemons and other processes. Most configuration can also be passed to processes via command line arguments, but it can be more convenient to have a central file. In particular, this encourages consistent configuration across different processes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">When command line options are provided, they override values set in this file. When this file does not specify a particular parameter, and no command line option is provided, each tool provides its own default values.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The file format supports multiple sections, each of which can contain multiple value assignments. A section is introduced by a line containing the section name enclosed in square brackets, so<\/p>\n<p style=\"margin-left:22%;\"><b>[global]<\/b><\/p>\n<p style=\"margin-left:11%;\">would introduce a section called <b>global<\/b>. A value assignment is a single line that has the name of the value, an equals sign, and a setting for the value, so<\/p>\n<p style=\"margin-left:22%;\"><b>threads = 4<\/b><\/p>\n<p style=\"margin-left:11%;\">would set the value named <b>threads<\/b> in the current section to <b>4<\/b>. Leading and trailing spaces and tab are ignored, as are spaces and tabs surrounding the equals sign. Single and double quotes surrounding the assigned value are also removed. If the resulting string is empty, the whole assignment is ignored.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Any line starting with \u201c<b>#<\/b>\u201d or \u201c<b>;<\/b>\u201d is ignored, as is any blank line.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the assigned value started with a \u201c<b>$<\/b>\u201d then the remainder is treated as a name and looked for in the section <b>[environment]<\/b> or in the processes environment (see <b>environ<\/b>(7)). The value found is used for this value.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The value name <b>include<\/b> is special. If a section contains<\/p>\n<p style=\"margin-left:22%;\"><b>include = \/some\/file\/name<\/b><\/p>\n<p style=\"margin-left:11%;\">then the named file will be read, and any value assignments found there-in will be added to the current section. If the file contains section headers, then new sections will be created just as if the included file appeared in place of the <b>include<\/b> line. If the file name starts with a hyphen then that is stripped off before the file is opened, and if file doesn\u2019t exist no warning is given. Normally a non-existent include file generates a warning.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Lookup of section and value names is case-insensitive.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Where a Boolean value is expected, any of <b>true<\/b>, <b>t<\/b>, <b>yes<\/b>, <b>y<\/b>, <b>on<\/b>, or <b>1<\/b> can be used for &#8220;true&#8221;, while <b>false<\/b>, <b>f<\/b>, <b>no<\/b>, <b>n<\/b>, <b>off<\/b>, or <b>0<\/b> can be used for &#8220;false&#8221;. Comparisons are case-insensitive.<\/p>\n<h2>SECTIONS <a name=\"SECTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following sections are known to various programs, and can contain the given named values. Most sections can also contain a <b>debug<\/b> value, which can be one or more from the list <b>general<\/b>, <b>call<\/b>, <b>auth<\/b>, <b>parse<\/b>, <b>all<\/b>. When a list is given, the members should be comma-separated. <b><br \/> general<\/b><\/p>\n<p style=\"margin-left:22%;\">Recognized values: <b>pipefs-directory<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">See <b>blkmapd<\/b>(8), <b>rpc.idmapd<\/b>(8), and <b>rpc.gssd<\/b>(8) for details.<\/p>\n<p style=\"margin-left:11%;\"><b>exports<\/b><\/p>\n<p style=\"margin-left:22%;\">Recognized values: <b>rootdir<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Setting <b>rootdir<\/b> to a valid path causes the nfs server to act as if the supplied path is being prefixed to all the exported entries. For instance, if <b>rootdir=\/my\/root<\/b>, and there is an entry in \/etc\/exports for <b>\/filesystem<\/b>, then the client will be able to mount the path as <b>\/filesystem<\/b>, but on the server, this will resolve to the path <b>\/my\/root\/filesystem<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>nfsdcltrack<\/b><\/p>\n<p style=\"margin-left:22%;\">Recognized values: <b>storagedir<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The <b>nfsdcltrack<\/b> program is run directly by the Linux kernel and there is no opportunity to provide command line arguments, so the configuration file is the only way to configure this program. See <b>nfsdcltrack<\/b>(8) for details.<\/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>nfsd<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Recognized values: <b>threads<\/b>, <b>host<\/b>, <b>port<\/b>, <b>grace-time<\/b>, <b>lease-time<\/b>, <b>udp<\/b>, <b>tcp<\/b>, <b>vers2<\/b>, <b>vers3<\/b>, <b>vers4<\/b>, <b>vers4.0<\/b>, <b>vers4.1<\/b>, <b>vers4.2<\/b>, <b>rdma<\/b>,<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">Version and protocol values are Boolean values as described above, and are also used by <b>rpc.mountd<\/b>. Threads and the two times are integers. <b>port<\/b> and <b>rdma<\/b> are service names or numbers. See <b>rpc.nfsd<\/b>(8) for details.<\/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=\"9%\">\n<p style=\"margin-top: 1em\"><b>mountd<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Recognized values: <b>manage-gids<\/b>, <b>descriptors<\/b>, <b>port<\/b>, <b>threads<\/b>, <b>reverse-lookup<\/b>, <b>state-directory-path<\/b>, <b>ha-callout<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">These, together with the protocol and version values in the <b>[nfsd]<\/b> section, are used to configure mountd. See <b>rpc.mountd<\/b>(8) for details.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The <b>state-directory-path<\/b> value in the <b>[mountd]<\/b> section is also used by <b>exportfs<\/b>(8).<\/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 style=\"margin-top: 1em\"><b>statd<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Recognized values: <b>port<\/b>, <b>outgoing-port<\/b>, <b>name<\/b>, <b>state-directory-path<\/b>, <b>ha-callout<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">See <b>rpc.statd<\/b>(8) for details.<\/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 style=\"margin-top: 1em\"><b>lockd<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"56%\">\n<p style=\"margin-top: 1em\">Recognized values: <b>port<\/b> and <b>udp-port<\/b>.<\/p>\n<\/td>\n<td width=\"22%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">See <b>rpc.statd<\/b>(8) for details.<\/p>\n<p style=\"margin-left:11%;\"><b>sm-notify<\/b><\/p>\n<p style=\"margin-left:22%;\">Recognized values: <b>retry-time<\/b>, <b>outgoing-port<\/b>, and <b>outgoing-addr<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">See <b>sm-notify<\/b>(8) for details.<\/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>gssd<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Recognized values: <b>verbosity<\/b>, <b>rpc-verbosity<\/b>, <b>use-memcache<\/b>, <b>use-machine-creds<\/b>, <b>use-gss-proxy<\/b>, <b>avoid-dns<\/b>, <b>limit-to-legacy-enctypes<\/b>, <b>context-timeout<\/b>, <b>rpc-timeout<\/b>, <b>keytab-file<\/b>, <b>cred-cache-directory<\/b>, <b>preferred-realm<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">See <b>rpc.gssd<\/b>(8) for details.<\/p>\n<p style=\"margin-left:11%;\"><b>svcgssd<\/b><\/p>\n<p style=\"margin-left:22%;\">Recognized values: <b>principal<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">See <b>rpc.svcgssd<\/b>(8) for details.<\/p>\n<p style=\"margin-left:11%;\"><b>exportfs<\/b><\/p>\n<p style=\"margin-left:22%;\">Only <b>debug=<\/b> is recognized.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/etc\/nfs.conf<\/i><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>nfsdcltrack<\/b><\/i>(8), <b>rpc.nfsd<\/b>(8), <b>rpc.mountd<\/b>(8), <b>nfsmount.conf<\/b>(5).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nfs.conf \u2212 general configuration for NFS daemons and tools <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,1100],"class_list":["post-4505","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-nfs"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4505","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=4505"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4505\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}