{"id":329,"date":"2009-05-18T21:29:47","date_gmt":"2009-05-18T19:29:47","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=329"},"modified":"2021-04-22T21:54:22","modified_gmt":"2021-04-22T19:54:22","slug":"aix-export-nfs-shares","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html","title":{"rendered":"Export NFS shares in AIX"},"content":{"rendered":"\n<p>Here are pretty simple steps required to export NFS shares in <a href=\"\/en\/category\/systems\/aix\">AIX<\/a>.<br><br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Export NFS Shares on Server<\/h3>\n\n\n\n<p>Edit \/etc\/exports (or create it if it doesn&#8217;t exist) and add folders you would like to share:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">\/home\/public -access=client1,root=client1<\/code><\/pre>\n\n\n\n<p>Option access restricts the list of clients, root allows to mount the share by root user on the remote system.<br>\u00a0<br>Start related services nfsd and mountd:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">startsrc -s nfsd\nstartsrc -s mountd<\/code><\/pre>\n\n\n\n<p>\u00a0<br>Now that services have been started, check daemons are actually running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">AIX_NFS_Server $ lssrc -s nfsd\nSub-system      Group           PID     State\n nfsd           nfs             36540   active\n\nAIX_NFS_Server $ lssrc -s portmap\nSub-system      Group           PID     State\n portmap        portmap         3890    active\nAIX_NFS_Server $ lssrc -s biod\n\nSub-system      Group           PID     State\n biod           nfs             6454    active<\/code><\/pre>\n\n\n\n<p>\u00a0<br>You can then export all directories listed in \/etc\/exports at once<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">exportfs -a<\/code><\/pre>\n\n\n\n<p>They should be visible running &#8220;exportfs&#8221; on the command line with no option.<br><br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mount NFS Shares on Client<\/h3>\n\n\n\n<p>Check from the client that RPC services are reachable:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">Linux_NFS_Client $ rpcinfo -p $NFS_Server_IP | egrep \"(mountd|nfs)\"\n    150001    1   udp  32773  pcnfsd\n    150001    2   udp  32773  pcnfsd\n    100003    2   udp   2049  nfs\n    100003    3   udp   2049  nfs\n    100003    2   tcp   2049  nfs\n    100003    3   tcp   2049  nfs\n    100005    1   udp  41863  mountd\n    100005    2   udp  41863  mountd\n    100005    3   udp  41863  mountd\n    100005    1   tcp  41489  mountd\n    100005    2   tcp  41489  mountd\n    100005    3   tcp  41489  mountd<\/code><\/pre>\n\n\n\n<p>\u00a0<br>If you got results from the previous command, NFS shares should be visible with showmount on a Linux client for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">Linux_NFS_Client $ showmount -e $Server_IP\nExport list for $SERVER_IP:\n\/home\/public (everyone)<\/code><\/pre>\n\n\n\n<p>\u00a0<br>You can now mount the share:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">Linux_NFS_Client $ mount -t nfs $Server_IP:\/home\/public \/mnt<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here are pretty simple steps required to export NFS shares in AIX. Export NFS Shares on Server Edit \/etc\/exports (or create it if it doesn&#8217;t exist) and add folders you would like to share: Option access restricts the list of clients, root allows to mount the share by root user on the remote system.\u00a0Start related [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[137],"tags":[394,225],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Export NFS shares in AIX<\/title>\n<meta name=\"description\" content=\"Here are simple steps required to export and mount NFS shares in IBM AIX\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Export NFS shares in AIX\" \/>\n<meta property=\"og:description\" content=\"Here are simple steps required to export and mount NFS shares in IBM AIX\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-18T19:29:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-22T19:54:22+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html\",\"name\":\"Netexpertise - Export NFS shares in AIX\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2009-05-18T19:29:47+00:00\",\"dateModified\":\"2021-04-22T19:54:22+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"description\":\"Here are simple steps required to export and mount NFS shares in IBM AIX\",\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Export NFS shares in AIX\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Export NFS shares in AIX","description":"Here are simple steps required to export and mount NFS shares in IBM AIX","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - Export NFS shares in AIX","og_description":"Here are simple steps required to export and mount NFS shares in IBM AIX","og_url":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html","og_site_name":"Netexpertise","article_published_time":"2009-05-18T19:29:47+00:00","article_modified_time":"2021-04-22T19:54:22+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html","url":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html","name":"Netexpertise - Export NFS shares in AIX","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2009-05-18T19:29:47+00:00","dateModified":"2021-04-22T19:54:22+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"description":"Here are simple steps required to export and mount NFS shares in IBM AIX","breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/aix\/aix-export-nfs-shares.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"Export NFS shares in AIX"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/329"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=329"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/329\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=329"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}