{
    "content": [
        {
            "type": "text",
            "text": "# nfs.conf (info)\n\n## NAME\n\nnfs.conf - general configuration for NFS daemons and tools\n\n## SYNOPSIS\n\n/etc/nfs.conf\n\n## DESCRIPTION\n\nThis  file contains site-specific configuration for various NFS daemons\nand other processes.  Most configuration can also  be  passed  to  pro-\ncesses  via  command  line  arguments, but it can be more convenient to\nhave a central file.  In particular, this encourages consistent config-\nuration across different processes.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SECTIONS**\n- **FILES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "nfs.conf",
        "section": "",
        "mode": "info",
        "summary": "nfs.conf - general configuration for NFS daemons and tools",
        "synopsis": "/etc/nfs.conf",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "nfsdcltrack",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/nfsdcltrack/8/json"
            },
            {
                "name": "rpc.nfsd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/rpc.nfsd/8/json"
            },
            {
                "name": "rpc.mountd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/rpc.mountd/8/json"
            },
            {
                "name": "nfsmount.conf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/nfsmount.conf/5/json"
            },
            {
                "name": "NFS.CONF",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/NFS.CONF/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 48,
                "subsections": []
            },
            {
                "name": "SECTIONS",
                "lines": 89,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "nfs.conf - general configuration for NFS daemons and tools\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/etc/nfs.conf\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This  file contains site-specific configuration for various NFS daemons\nand other processes.  Most configuration can also  be  passed  to  pro-\ncesses  via  command  line  arguments, but it can be more convenient to\nhave a central file.  In particular, this encourages consistent config-\nuration across different processes.\n\nWhen  command  line  options  are provided, they override values set in\nthis file.  When this file does not specify a particular parameter, and\nno  command line option is provided, each tool provides its own default\nvalues.\n\nThe file format supports multiple sections, each of which  can  contain\nmultiple value assignments.  A section is introduced by a line contain-\ning the section name enclosed in square brackets, so\n[global]\nwould introduce a section called global.  A value assignment is a  sin-\ngle  line that has the name of the value, an equals sign, and a setting\nfor the value, so\nthreads = 4\nwould set the value named threads in the current section to 4.  Leading\nand  trailing  spaces  and tab are ignored, as are spaces and tabs sur-\nrounding the equals sign.  Single and double quotes surrounding the as-\nsigned  value  are also removed.  If the resulting string is empty, the\nwhole assignment is ignored.\n\nAny line starting with \"#\" or \";\" is ignored, as is any blank line.\n\nIf the assigned value started with a \"$\" then the remainder is  treated\nas  a  name  and looked for in the section [environment] or in the pro-\ncesses environment (see environ(7)).  The value found is used for  this\nvalue.\n\nThe value name include is special.  If a section contains\ninclude = /some/file/name\nthen  the  named  file  will  be  read, and any value assignments found\nthere-in will be added to the current section.  If  the  file  contains\nsection  headers,  then new sections will be created just as if the in-\ncluded file appeared in place of the include line.  If  the  file  name\nstarts  with  a  hyphen  then  that  is stripped off before the file is\nopened, and if file doesn't exist no warning is given.  Normally a non-\nexistent include file generates a warning.\n\nLookup of section and value names is case-insensitive.\n\nWhere a Boolean value is expected, any of true, t, yes, y, on, or 1 can\nbe used for \"true\", while false, f, no, n, off, or 0 can  be  used  for\n\"false\".  Comparisons are case-insensitive.\n",
                "subsections": []
            },
            "SECTIONS": {
                "content": "The  following  sections are known to various programs, and can contain\nthe given named values.  Most sections can also contain a debug  value,\nwhich can be one or more from the list general, call, auth, parse, all.\nWhen a list is given, the members should be comma-separated.\n\ngeneral\nRecognized values: pipefs-directory.\n\nSee blkmapd(8), rpc.idmapd(8), and rpc.gssd(8) for details.\n\nexports\nRecognized values: rootdir.\n\nSetting rootdir to a valid path causes the nfs server to act  as\nif  the  supplied path is being prefixed to all the exported en-\ntries. For instance, if rootdir=/my/root, and there is an  entry\nin /etc/exports for /filesystem, then the client will be able to\nmount the path as /filesystem, but on the server, this will  re-\nsolve to the path /my/root/filesystem.\n\nexportd\nRecognized  values: threads, cache-use-upaddr, ttl, state-direc-\ntory-path\n\nSee exportd(8) for details.\n\nNote that setting \"debug = auth\" for exportd  is  equivalent  to\nproviding the --log-auth option.\n\nnfsdcltrack\nRecognized values: storagedir.\n\nThe  nfsdcltrack program is run directly by the Linux kernel and\nthere is no opportunity to provide command  line  arguments,  so\nthe  configuration  file  is the only way to configure this pro-\ngram.  See nfsdcltrack(8) for details.\n\nnfsd   Recognized values: threads, host, port, grace-time,  lease-time,\nudp, tcp, vers2, vers3, vers4, vers4.0, vers4.1, vers4.2, rdma,\n\nVersion  and  protocol  values  are  Boolean values as described\nabove, and are also used by rpc.mountd.   Threads  and  the  two\ntimes are integers.  port and rdma are service names or numbers.\nSee rpc.nfsd(8) for details.\n\nmountd Recognized values: manage-gids, descriptors, port, threads,  re-\nverse-lookup,  cache-use-upaddr,  ttl, state-directory-path, ha-\ncallout.\n\nThese, together with the protocol  and  version  values  in  the\n[nfsd] section, are used to configure mountd.  See rpc.mountd(8)\nfor details.\n\nNote that setting \"debug = auth\" for  mountd  is  equivalent  to\nproviding the --log-auth option.\n\nThe  state-directory-path  value in the [mountd] section is also\nused by exportfs(8).\n\nstatd  Recognized values: port, outgoing-port,  name,  state-directory-\npath, ha-callout.\n\nSee rpc.statd(8) for details.\n\nlockd  Recognized values: port and udp-port.\n\nSee rpc.statd(8) for details.\n\nsm-notify\nRecognized values: retry-time, outgoing-port, and outgoing-addr.\n\nSee sm-notify(8) for details.\n\ngssd   Recognized  values: verbosity, rpc-verbosity, use-memcache, use-\nmachine-creds,  use-gss-proxy,  avoid-dns,  limit-to-legacy-enc-\ntypes, context-timeout, rpc-timeout, keytab-file, cred-cache-di-\nrectory, preferred-realm, set-home.\n\nSee rpc.gssd(8) for details.\n\nsvcgssd\nRecognized values: principal, verbosity,  rpc-verbosity,  idmap-\nverbosity.\n\nSee rpc.svcgssd(8) for details.\n\nexportfs\nOnly debug= is recognized.\n",
                "subsections": []
            },
            "FILES": {
                "content": "/etc/nfs.conf\nDefault NFS client configuration file\n\n/etc/nfs.conf.d\nWhen  this directory exists and files ending with \".conf\" ex-\nist, those files will be used to set configuration variables.\nThese files will override variables set in /etc/nfs.conf\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "nfsdcltrack(8), rpc.nfsd(8), rpc.mountd(8), nfsmount.conf(5).\n\nNFS.CONF(5)",
                "subsections": []
            }
        }
    }
}