{"id":18867,"date":"2022-10-14T10:34:00","date_gmt":"2022-10-14T08:34:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=18867"},"modified":"2022-10-14T10:34:00","modified_gmt":"2022-10-14T08:34:00","slug":"nfs-mount-using-redhat-autofs","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/","title":{"rendered":"NFS mount using Redhat autofs"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">First of all, why would you use autofs over nfs mount in the fstab ?<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<ul class=\"wp-block-list\"><li>Shares are accessed automatically and transparently when a user tries to access files or directories under the designated mount point of the remote filesystem to be mounted.<\/li><\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<ul class=\"wp-block-list\"><li>Shorter booting time because mounting isn\u2019t done at boot time.<\/li><\/ul>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<ul class=\"wp-block-list\"><li>Less permanently active mount points.<\/li><\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<ul class=\"wp-block-list\"><li>No booting issue if the shares are inaccessible.<\/li><\/ul>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">1. Installation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1.1 <strong>Create the VMs<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use one VM as the NFS server and the other one as the NFS client.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m currently using two VM setup with Redhat 8.5 and two network adapter : NAT and Host-Only.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1.2 Setup NFS<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1.2.1 For both servers<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Install NFS<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# yum install -y nfs-utils\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Enable and start rpcbind<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# systemctl enable --now rpcbind\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Check if it\u2019s working<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# systemctl status rpcbind\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Allow NFS services in the firewall<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# firewall-cmd --add-service={nfs,rpc-bind,mountd} --permanent\nsuccess\n# firewall-cmd --reload\nsuccess\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">      1.2.2 NFS server<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Enable and start nfs-server<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-server ~]# systemctl enable --now nfs-server.service\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/nfs-server.service \u2192 \/usr\/lib\/systemd\/system\/nfs-server.service.\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Check if it\u2019s working<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-server ~]# systemctl status nfs-server.service\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Create NFS shared directory<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-server ~]# mkdir \/nfs-export\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Create a file into the directory<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-server ~]# touch \/nfs-export\/testfile.txt\n&#x5B;root@nfs-server ~]# ll \/nfs-export\/\ntotal 0-rw-r--r--. 1 root root 0 May 17 15:07 testfile.txt\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Add the directory that you want to access from the nfs-client to the \/etc\/exports file and the client\u2019s IP address (or Hostname if there is a dns or if it\u2019s registered in \/etc\/hosts) :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2022 in \/etc\/hosts<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n192.168.56.102 nfs-client\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u2022 in \/etc\/exports<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/nfs-export nfs-client(rw,sync,no_root_squash)\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Apply all the exports in \/etc\/exports and check what is exported<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-server ~]# exportfs -a\n&#x5B;root@nfs-server ~]# exportfs\n\/nfs-export nfs-client\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">1.2.3 NFS client<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Verify that the NFS shared directory exported from nfs-server is seen by the client<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# showmount -e 192.168.56.103\nExport list for 192.168.56.103:\n\/nfs-export nfs-client\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Create a mount point<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# mkdir \/mount-nfs\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Mount the NFS shared directory manually to test if it works<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# mount -t nfs 192.168.56.103:\/nfs-export \/mount-nfs\/\n&#x5B;root@nfs-client ~]# ls \/mount-nfs\/\ntestfile.txt\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Unmount it<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# umount \/mount-nfs\n&#x5B;root@nfs-client ~]# ls \/mount-nfs\/\n&#x5B;root@nfs-client ~]#\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">1.3 Mounting NFS shared directory with autofs<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Install autofs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# yum install -y autofs\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">1.3.1 Direct mapping<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Create the master map file. It\u2019s located in \/etc\/auto.master.d\/ and Its name has to be like <strong>whatever.<mark class=\"has-inline-color has-vivid-red-color\">autofs<\/mark><\/strong>. It will reference a map file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# vim \/etc\/auto.master.d\/dbi.autofs\n\/- \/etc\/auto.dbi\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Create the map file<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# vim \/etc\/auto.dbi\n\/mount-nfs -rw,sync 192.168.56.103:\/nfs-export\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Enable and start autofs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# systemctl enable --now autofs\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/autofs.service \u2192 \/usr\/lib\/systemd\/system\/autofs.service.\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Check if the NFS shared file is mounted<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# ll \/mount-nfs\/\ntotal 0\n-rw-r--r--. 1 root root 0 May 17 15:07 testfile.txt\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">1.3.2 Indirect mapping<\/h4>\n\n\n\n<p class=\"has-black-color has-text-color wp-block-paragraph\">Create the master map file. It\u2019s located in \/etc\/auto.master.d\/ and Its name has to be like <strong>whatever.<mark class=\"has-inline-color has-vivid-red-color\">autofs<\/mark><\/strong>. It will reference a map file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# vim \/etc\/auto.master.d\/dbi.autofs\n\/mount-nfs \/etc\/auto.dbi\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Create the map file (here we are mapping the folder of \/nfs-export\/)<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# vim \/etc\/auto.dbi\n* -rw,sync 192.168.56.103:\/nfs-export\/&amp;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Enable and start autofs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# systemctl enable --now autofs\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/autofs.service \u2192 \/usr\/lib\/systemd\/system\/autofs.service.\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Check if the NFS shared files are mounted&nbsp; (Shared directory has to be discovered manually with full path before you can see it)<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@nfs-client ~]# ll \/mount-nfs\/\ntotal 0\n\n&#x5B;root@nfs-client ~]# ll \/mount-nfs\/nfs-1\ntotal 0\n-rw-r--r--. 1 root root 0 Jun 21 08:29 nfs1.txt\n\n&#x5B;root@nfs-client ~]# ll \/mount-nfs\/nfs-2\ntotal 0\n-rw-r--r--. 1 root root 0 Jun 21 08:29 nfs2.txt\n\n&#x5B;root@nfs-client ~]# ll \/mount-nfs\/\ntotal 0\ndrwxr-xr-x. 2 root root 22 Jun 21 08:29 nfs-1\ndrwxr-xr-x. 2 root root 22 Jun 21 08:47 nfs-2\n\n&#x5B;root@nfs-client ~]# ll \/mount-nfs\/*\n\/mount-nfs\/nfs-1:\ntotal 0\n-rw-r--r--. 1 root root 0 Jun 21 08:29 nfs1.txt\n\n\/mount-nfs\/nfs-2:\ntotal 0\n-rw-r--r--. 1 root root 0 Jun 21 08:29 nfs2.txt\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">2. Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Hope this guide help, either for you personal purpose or for your EX200 Red Hat Certified System Administrator Exam.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Annexes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Information from RHCSA preparation pdf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Other useful guides and information :<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-tekneed wp-block-embed-tekneed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"v2IlsHg8bo\"><a href=\"https:\/\/tekneed.com\/how-to-configure-nfs-in-linux-rhel-centos-78\/\">How To Configure NFS In Linux &#8211; RHEL\/CentOS 7&#038;8<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u201cHow To Configure NFS In Linux \u2013 RHEL\/CentOS 7&amp;8\u201d \u2014 TekNeed\" src=\"https:\/\/tekneed.com\/how-to-configure-nfs-in-linux-rhel-centos-78\/embed\/#?secret=7pG7njsdIE#?secret=v2IlsHg8bo\" data-secret=\"v2IlsHg8bo\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/learn.redhat.com\/t5\/Platform-Linux\/Difference-between-Direct-and-Indirect-Automount\/td-p\/20869\">https:\/\/learn.redhat.com\/t5\/Platform-Linux\/Difference-between-Direct-and-Indirect-Automount\/td-p\/20869<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all, why would you use autofs over nfs mount in the fstab ? Shares are accessed automatically and transparently when a user tries to access files or directories under the designated mount point of the remote filesystem to be mounted. Shorter booting time because mounting isn\u2019t done at boot time. Less permanently active&hellip;&nbsp;<\/p>\n","protected":false},"author":87,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[42],"tags":[112],"class_list":["post-18867","post","type-post","status-publish","format-standard","category-operating-systems","tag-nfs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>NFS mount using Redhat autofs - dbi services Blog<\/title>\n<meta name=\"description\" content=\"dbi services Blog NFS mount using Redhat autofs Operating System -\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NFS mount using Redhat autofs\" \/>\n<meta property=\"og:description\" content=\"dbi services Blog NFS mount using Redhat autofs Operating System -\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-14T08:34:00+00:00\" \/>\n<meta name=\"author\" content=\"Joan Frey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joan Frey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/\"},\"author\":{\"name\":\"Joan Frey\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/565fa40326c9a1329bcf424186e01a04\"},\"headline\":\"NFS mount using Redhat autofs\",\"datePublished\":\"2022-10-14T08:34:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/\"},\"wordCount\":403,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"keywords\":[\"NFS\"],\"articleSection\":[\"Operating System\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/\",\"name\":\"NFS mount using Redhat autofs - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2022-10-14T08:34:00+00:00\",\"description\":\"dbi services Blog NFS mount using Redhat autofs Operating System -\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/nfs-mount-using-redhat-autofs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NFS mount using Redhat autofs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/565fa40326c9a1329bcf424186e01a04\",\"name\":\"Joan Frey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/FRJ_web-min-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/FRJ_web-min-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/FRJ_web-min-scaled.jpg\",\"caption\":\"Joan Frey\"},\"description\":\"Joan Frey has more than 8 years of experience in the IT sector, including 5 years as a database and Linux consultant. He is specialized in PostgreSQL high availability (Patroni, etcd, HAProxy, Keepalived) and also manages MariaDB and MySQL environments. His knowledge includes Linux (RHEL, SLES), Windows Server, backup and restore strategies (pgBackRest, mariabackup), Ansible automation, as well as development in Python, Go, TypeScript and SQL. Since 2021, he has been working at dbi services, where he installs, supports and documents database infrastructures for customers, often under SLA contracts, and coaches their internal teams. He also contributes to internal tools such as DMK (Database Management Kit), the Resource Planning ERP and the Yak cloud tool. Before joining dbi services, he was an Analyst Developer Intern at Euro Information D\u00e9veloppement (France) in Strasbourg. His branch related experience includes banking, fintech, payment services, telecommunications, aviation, watchmaking, public administration, energy, insurance, pharmaceuticals and public transport.\",\"sameAs\":[\"ree years of experience in the IT sector, specializing in C and C# development, with additional knowledge of Linux and SQL. Prior to dbi services, he was an Analyst Developer Intern at Euro Information D\u00e9veloppement in Strasbourg and an IT Help Desk intern at EuroAirport. He holds a computer engineering degree specializing in information systems from the University of Technology of Belfort-Montb\u00e9liard (UTBM). His industry experience includes banking and aviation.\"],\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/joan-frey\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"NFS mount using Redhat autofs - dbi services Blog","description":"dbi services Blog NFS mount using Redhat autofs Operating System -","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":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/","og_locale":"en_US","og_type":"article","og_title":"NFS mount using Redhat autofs","og_description":"dbi services Blog NFS mount using Redhat autofs Operating System -","og_url":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2022-10-14T08:34:00+00:00","author":"Joan Frey","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Joan Frey","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/"},"author":{"name":"Joan Frey","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/565fa40326c9a1329bcf424186e01a04"},"headline":"NFS mount using Redhat autofs","datePublished":"2022-10-14T08:34:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/"},"wordCount":403,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"keywords":["NFS"],"articleSection":["Operating System"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/","url":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/","name":"NFS mount using Redhat autofs - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2022-10-14T08:34:00+00:00","description":"dbi services Blog NFS mount using Redhat autofs Operating System -","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/nfs-mount-using-redhat-autofs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"NFS mount using Redhat autofs"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/565fa40326c9a1329bcf424186e01a04","name":"Joan Frey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/FRJ_web-min-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/FRJ_web-min-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/FRJ_web-min-scaled.jpg","caption":"Joan Frey"},"description":"Joan Frey has more than 8 years of experience in the IT sector, including 5 years as a database and Linux consultant. He is specialized in PostgreSQL high availability (Patroni, etcd, HAProxy, Keepalived) and also manages MariaDB and MySQL environments. His knowledge includes Linux (RHEL, SLES), Windows Server, backup and restore strategies (pgBackRest, mariabackup), Ansible automation, as well as development in Python, Go, TypeScript and SQL. Since 2021, he has been working at dbi services, where he installs, supports and documents database infrastructures for customers, often under SLA contracts, and coaches their internal teams. He also contributes to internal tools such as DMK (Database Management Kit), the Resource Planning ERP and the Yak cloud tool. Before joining dbi services, he was an Analyst Developer Intern at Euro Information D\u00e9veloppement (France) in Strasbourg. His branch related experience includes banking, fintech, payment services, telecommunications, aviation, watchmaking, public administration, energy, insurance, pharmaceuticals and public transport.","sameAs":["ree years of experience in the IT sector, specializing in C and C# development, with additional knowledge of Linux and SQL. Prior to dbi services, he was an Analyst Developer Intern at Euro Information D\u00e9veloppement in Strasbourg and an IT Help Desk intern at EuroAirport. He holds a computer engineering degree specializing in information systems from the University of Technology of Belfort-Montb\u00e9liard (UTBM). His industry experience includes banking and aviation."],"url":"https:\/\/www.dbi-services.com\/blog\/author\/joan-frey\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=18867"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18867\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=18867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=18867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=18867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}