{"id":278,"date":"2018-05-08T02:57:40","date_gmt":"2018-05-08T02:57:40","guid":{"rendered":"http:\/\/pjakey.com\/wp\/?p=278"},"modified":"2018-05-08T22:27:27","modified_gmt":"2018-05-08T22:27:27","slug":"nfsd-on-linux","status":"publish","type":"post","link":"https:\/\/pjakey.com\/wp\/2018\/05\/08\/nfsd-on-linux\/","title":{"rendered":"nfsd on Linux"},"content":{"rendered":"<h3>Background<\/h3>\n<p>The <em>Network File System<\/em> (NFS, referring to the nfsd daemon, not the general overarching concept of network file systems) is handy when you need to access a large, centralized file store from one or more servers throughout your LAN.\u00a0 NFS over WAN would take more consideration and more in-depth investigate as to what your &#8220;lowest common denominator&#8221; would be (i.e. your weakest link may be beyond your control).<\/p>\n<p>On a LAN, NFS works well.\u00a0 It&#8217;s responsive, easy to set up, and robust in a variety of environments.<\/p>\n<p>The setup involves a client accesses the data made available by another machine, the server.<\/p>\n<h3>Overview<\/h3>\n<p>If I may borrow this well-written excerpt from <a href=\"https:\/\/en.wikipedia.org\/wiki\/Network_File_System\">this Wikipedia article<\/a>:<\/p>\n<ol>\n<li>The server implements NFS <a class=\"mw-redirect\" title=\"Daemon (computer software)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Daemon_(computer_software)\">daemon<\/a> processes, running by default as <code>nfsd<\/code>, to make its data generically available to clients.<\/li>\n<li>The server administrator determines what to make available, exporting the names and parameters of <a class=\"mw-redirect\" title=\"Directory (file systems)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Directory_(file_systems)\">directories<\/a>, typically using the <code>\/etc\/exports<\/code> configuration file and the <code>exportfs<\/code> command.<\/li>\n<li>The server <a title=\"Network security\" href=\"https:\/\/en.wikipedia.org\/wiki\/Network_security\">security<\/a>-administration ensures that it can recognize and approve validated clients.<\/li>\n<li>The server network configuration ensures that appropriate clients can negotiate with it through any <a class=\"mw-redirect\" title=\"Firewall (networking)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Firewall_(networking)\">firewall<\/a> system.<\/li>\n<li>The client machine requests access to exported data, typically by issuing a <code>mount<\/code> command. (The client asks the server (rpcbind) which port the NFS server is using, the client connects to the NFS server (nfsd), nfsd passes the request to mountd)<\/li>\n<li>If all goes well, users on the client machine can then view and interact with mounted <a class=\"mw-redirect\" title=\"Filesystem\" href=\"https:\/\/en.wikipedia.org\/wiki\/Filesystem\">filesystems<\/a> on the server within the parameters permitted.<\/li>\n<\/ol>\n<p>Note that automation of the NFS mounting process may take place \u2014 perhaps using <code>\/etc\/fstab<\/code> and\/or <a title=\"Berkeley Automounter\" href=\"https:\/\/en.wikipedia.org\/wiki\/Berkeley_Automounter\">automounting<\/a> facilities.<\/p>\n<h3>Quick GuideS<\/h3>\n<h4>CentOS 7<\/h4>\n<p>A very helpful guide for NFS on CentOS 7 can be found <a href=\"https:\/\/www.howtoforge.com\/nfs-server-and-client-on-centos-7\">here<\/a>.<\/p>\n<h3 class=\"r\">More References<\/h3>\n<p><a href=\"http:\/\/nfs.sourceforge.net\/\">How NFS is Implemented in the Linux Kernel<br \/>\n<\/a><a href=\"https:\/\/tools.ietf.org\/\">RFC Documents<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Background The Network File System (NFS, referring to the nfsd daemon, not the general overarching concept of network file systems) is handy when you need to access a large, centralized file store from one or more servers throughout your LAN.\u00a0 NFS over WAN would take more consideration and more in-depth investigate as to what your<span class=\"excerpt-ellipsis\">&#8230;<\/span><\/p>\n<p><a class=\"more-link\" href=\"https:\/\/pjakey.com\/wp\/2018\/05\/08\/nfsd-on-linux\/\" itemprop=\"url\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-sysadmin"],"_links":{"self":[{"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":1,"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/posts\/278\/revisions\/288"}],"wp:attachment":[{"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjakey.com\/wp\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}