{"id":47999,"date":"2024-03-13T12:30:00","date_gmt":"2024-03-13T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=47999"},"modified":"2024-02-20T04:15:11","modified_gmt":"2024-02-20T10:15:11","slug":"how-to-install-and-connect-to-nfs-networked-storage-on-linux","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/","title":{"rendered":"How to Install and Connect to NFS Networked Storage on Linux"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp\" alt=\"how to install connect to nfs networked storage on linux\" class=\"wp-image-48149\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NFS (Network File System) is a file-sharing protocol designed to function over a network. NFS storage allows us to share anything through a network using any Linux distros. This system was initially developed by Sun Microsystems that allow Linux users to store, share, view, and update files on a remote system as if it was in their local machine. In this article, we will show you how to install and connect to NFS networked storage on Linux.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a182fe188747\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a182fe188747\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Step-1-Update-Your-System\" >Step 1. Update Your System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Step-2-Install-NFS-Server\" >Step 2. Install NFS Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Step-3-Configure-NFS-Server\" >Step 3. Configure NFS Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Step-4-Install-NFS-Client\" >Step 4. Install NFS Client<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Step-5-Connect-to-NFS-Server\" >Step 5. Connect to NFS Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#Connect-to-NFS-Server-on-Reboot\" >Connect to NFS Server on Reboot<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Two VPS, one for NFS server and the other for NFS client<\/li>\n\n\n\n<li>root access or a system user with user privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-Your-System\"><\/span>Step 1. Update Your System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, we need to log in to our VPS through SSH:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh master@IP_Address -p Port_number<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace &#8220;master&#8221; with a user that has sudo privileges or root if necessary. Additionally, replace \u201cIP_Address\u201d and \u201cPort_Number\u201d with your server\u2019s respective IP address and SSH port number.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, we are going to update our server that will act as the NFS server. Let&#8217;s execute the command below to update it. Make sure you run the command that suits your operating system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu\/Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt update<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CentOS\/AlmaLinux\/RockyLinux<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo dnf update<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it, the package index on your Linux machine has been updated. We can proceed to the next step now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-NFS-Server\"><\/span>Step 2. Install NFS Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The NFS package is available on all of the most common Linux distributions. We just need to install it from the existing repository, simply run the command below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu\/Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install nfs-kernel-server<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CentOS\/AlmaLinux\/RockyLinux<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo dnf install nfs-utils<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, the NFS server has been installed. On Ubuntu\/Debian, the service was already set to active, but that is not the case on CentOS\/AlmaLinux\/RockyLinux. So, if you are using CentOS\/AlmaLinux\/RockyLinux as your NFS server, we can run this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl enable nfs-server<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Configure-NFS-Server\"><\/span>Step 3. Configure NFS Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this step, we are going to create a directory to share with other users in the same local network. Then, we need to edit the <code>exports<\/code> file to be able to run the NFS server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this case, we&#8217;re sharing the folder <code>\/mnt\/shared<\/code> &#8211; you can change this to any folder you want.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu\/Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo mkdir \/mnt\/shared\n$ sudo chown nobody:nogroup \/mnt\/shared\n$ sudo chmod 777 \/mnt\/shared<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CentOS\/AlmaLinux\/RockyLinux<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo mkdir \/mnt\/shared\n$ sudo chown nobody:nobody \/mnt\/shared\n$ sudo chmod 777 \/mnt\/shared<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After creating the directory to share and correcting its permissions, we can edit the <code>\/etc\/exports<\/code> file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/exports<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Insert this line into the file to share the folder <code>\/mnt\/shared<\/code> to the network <code>192.168.53.0<\/code> with a subnet mask of <code>\/24<\/code> or <code>255.255.255.0<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/mnt\/shared 192.168.53.0\/255.255.255.0(rw,sync,no_subtree_check)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure to replace <code>192.168.53.0\/255.255.255.0<\/code> with your subnet IP and subnet mask.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file then exit from the editor. Please note that with the line above, you are allowing all computers on the same network to access <code>\/mnt\/shared<\/code>. If you want to share the NFS server only with a single IP address, you can use this line instead and replace 192.168.53.111 with your NFS client&#8217;s IP address:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/mnt\/shared 192.168.53.111(rw,sync,no_subtree_check)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Every time you make changes to <code>\/etc\/exports<\/code> file, you need to run this command below to apply the changes:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo exportfs -a<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we installed everything, we can connect to the NFS server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-NFS-Client\"><\/span>Step 4. Install NFS Client<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let&#8217;s log in to the second server that is going to be used as the NFS client. Once logged in, we can invoke this command below to install the NFS client package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu\/Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install nfs-common<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CentOS\/AlmaLinux\/RockyLinux<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo dnf install nfs-utils<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s all &#8211; the NFS client installation should be completed now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Connect-to-NFS-Server\"><\/span>Step 5. Connect to NFS Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On your second server where the NFS client is installed, we need to create a directory in which we&#8217;ll mount the networked storage. In this case we&#8217;ll use <code>\/opt\/remote_storage<\/code>, but you can create and use any directory you want.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo mkdir \/opt\/remote_storage<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">With the directory created, we can now mount the NFS networked storage to <code>\/opt\/remote_storage<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, remember to change <code>192.168.53.131<\/code> with the IP address of your NFS server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo mount -t nfs 192.168.53.131:\/mnt\/shared \/opt\/remote_storage<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can test the NFS networked storage by creating an empty file using the NFS client:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ touch \/opt\/remote_storage\/test_file<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, log in to the other server where the NFS server was installed, then check the directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ ls -lh \/mnt\/shared<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">There you will see the file called <code>test_file<\/code> which you created earlier.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"434\" height=\"101\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/install-nfs-on-linux.jpg\" alt=\"\" class=\"wp-image-48001\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/install-nfs-on-linux.jpg 434w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/install-nfs-on-linux-300x70.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/01\/install-nfs-on-linux-150x35.jpg 150w\" sizes=\"(max-width: 434px) 100vw, 434px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it! You have successfully installed NFS server and were able connect to it from your other server as an NFS client. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Connect-to-NFS-Server-on-Reboot\"><\/span>Connect to NFS Server on Reboot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now, if you want your NFS client to always connect to the NFS server (like when restarting for example), we need to modify the fstab (filesystem table) file. No matter which Linux distribution your NFS client is running, you can edit the fstab file in the same location.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/fstab<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then, insert the following into the file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">192.168.53.131:\/mnt\/shared \/opt\/remote_storage nfs defaults 0 0<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Again, do not forget to replace the directories that you used, as well as replacing <code>192.168.53.131<\/code> with your NFS server IP address. Save the file then exit. Now, every time the server is rebooted, it will automatically mount the remote NFS storage, and you should be able to access the NFS storage at <code>\/opt\/remote_storage\/<\/code> directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! You have successfully installed and connected to NFS networked storage on your Linux machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, if you are one of our <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">Managed Linux Hosting<\/a> customers, you don\u2019t have to install and connect to NFS networked storage on Linux yourself \u2013 simply ask our admins, sit back, and relax. One of our experienced admins will install and connect to NFS networked storage on Linux for you immediately without any additional fee, along with many useful optimizations that we can do for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you liked this post about how to install and connect to NFS networked storage on Linux, please share it with your friends on the social networks using the share buttons below, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NFS (Network File System) is a file-sharing protocol designed to function over a network. NFS storage allows us to share &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install and Connect to NFS Networked Storage on Linux\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#more-47999\" aria-label=\"Read more about How to Install and Connect to NFS Networked Storage on Linux\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":48149,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2071,13],"tags":[27,2130,763],"class_list":["post-47999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-tutorials","tag-linux","tag-nfs","tag-storage","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6.1 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install and Connect to NFS Networked Storage on Linux | RoseHosting<\/title>\n<meta name=\"description\" content=\"Being able to share files across a network is very convenient. Learn how to install and connect to NFS servers using our simple guide.\" \/>\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.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Connect to NFS Networked Storage on Linux\" \/>\n<meta property=\"og:description\" content=\"How to Install and Connect to NFS Networked Storage on Linux | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-13T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install and Connect to NFS Networked Storage on Linux\",\"datePublished\":\"2024-03-13T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/\"},\"wordCount\":926,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp\",\"keywords\":[\"Linux\",\"NFS\",\"storage\"],\"articleSection\":[\"Linux\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/\",\"name\":\"How to Install and Connect to NFS Networked Storage on Linux | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp\",\"datePublished\":\"2024-03-13T17:30:00+00:00\",\"description\":\"Being able to share files across a network is very convenient. Learn how to install and connect to NFS servers using our simple guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to install connect to nfs networked storage on linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Connect to NFS Networked Storage on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install and Connect to NFS Networked Storage on Linux | RoseHosting","description":"Being able to share files across a network is very convenient. Learn how to install and connect to NFS servers using our simple guide.","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.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Connect to NFS Networked Storage on Linux","og_description":"How to Install and Connect to NFS Networked Storage on Linux | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-03-13T17:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install and Connect to NFS Networked Storage on Linux","datePublished":"2024-03-13T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/"},"wordCount":926,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp","keywords":["Linux","NFS","storage"],"articleSection":["Linux","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/","name":"How to Install and Connect to NFS Networked Storage on Linux | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp","datePublished":"2024-03-13T17:30:00+00:00","description":"Being able to share files across a network is very convenient. Learn how to install and connect to NFS servers using our simple guide.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/02\/how-to-install-connect-to-nfs-networked-storage-on-linux.webp","width":1024,"height":576,"caption":"how to install connect to nfs networked storage on linux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-connect-to-nfs-networked-storage-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Connect to NFS Networked Storage on Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=47999"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47999\/revisions"}],"predecessor-version":[{"id":48150,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/47999\/revisions\/48150"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/48149"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=47999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=47999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=47999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}