{"id":4324,"date":"2022-12-20T17:48:59","date_gmt":"2022-12-20T20:48:59","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nfsmount-conf-man5\/"},"modified":"2022-12-20T17:48:59","modified_gmt":"2022-12-20T20:48:59","slug":"nfsmount-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nfsmount-conf-man5\/","title":{"rendered":"NFSMOUNT.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">NFSMOUNT.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/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\">nfsmount.conf &#8211; Configuration file for NFS mounts<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Configuration file for NFS mounts that allows options to be set globally, per server or per mount point.<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The configuration file is made up of multiple sections followed by variables associated with that section. A section is defined by a string enclosed by <b>[<\/b> and <b>]<\/b> branches. Variables are assignment statements that assign values to particular variables using the <b>=<\/b> operator, as in <b>Proto=Tcp<\/b>. The variables that can be assigned are exactly the set of NFS specific mount options listed in <b>nfs<\/b>(5).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Sections are broken up into three basic categories: Global options, Server options and Mount Point options.<\/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=\"41%\">\n<p style=\"margin-top: 1em\"><b>[ NFSMount_Global_Options ]<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"46%\">\n<p style=\"margin-top: 1em\">&#8211; This statically named section defines all<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\">of the global mount options that can be applied to every NFS mount.<\/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=\"37%\">\n<p style=\"margin-top: 1em\"><b>[ Server \u201cServer_Name\u201d ]<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"51%\">\n<p style=\"margin-top: 1em\">&#8211; This section defines all the mount options<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\">that should be used on mounts to a particular NFS server. The <i>\u201cServer_Name\u201d<\/i> strings needs to be surrounded by \u2019\u201c\u2019 and be an exact match of the server name used in the <b>mount<\/b> command.<\/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=\"47%\">\n<p style=\"margin-top: 1em\"><b>[ MountPoint \u201cMount_Point\u201d ]<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"38%\">\n<p style=\"margin-top: 1em\">&#8211; This section defines all the mount<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\">options that should be used on a particular mount point. The <i>\u201cMount_Point\u201d<\/i> string needs to be surrounded by \u2019\u201c\u2019 and be an exact match of the mount point used in the <b>mount<\/b> command.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">These are some example lines of how sections and variables are defined in the configuration file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">[ NFSMount_Global_Options ] <br \/> Proto=Tcp<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">The TCP\/IPv4 protocol will be used on every NFS mount.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">[ Server \u201cnfsserver.foo.com\u201d ] <br \/> rsize=32k <br \/> wsize=32k <br \/> proto=udp6<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">A 32k (32768 bytes) block size will be used as the read and write size on all mounts to the \u2019nfsserver.foo.com\u2019 server. UDP\/IPv6 is the protocol to be used.<\/p>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">[ MountPoint \u201c\/export\/home\u201d ] <br \/> Background=True<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">All mounts to the \u2019\/export\/home\u2019 export will be performed in the background (i.e. done asynchronously).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/etc\/nfsmount.conf<\/i><\/p>\n<p style=\"margin-left:26%;\">Default NFS mount configuration file<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfs<\/b>(5), <b>mount<\/b>(8),<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nfsmount.conf &#8211; Configuration file for NFS mounts <\/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,1338],"class_list":["post-4324","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-nfsmount"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4324","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=4324"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4324\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}