Question: How to Mount Nfs on Linux?
Contents

Manually Mount

  • Install the NFS client. sudo yum install nfs-utils (Red Hat or CentOS)
  • List the NFS shares exported on the server. For example: showmount -e usa-node01.
  • Set up a mount point for an NFS share. For example: sudo mkdir /mapr.
  • Mount the cluster via NFS. sudo mount -o hard,nolock usa-node01:/mapr /mapr.

How mount NFS share Ubuntu?

Please follow these steps in order to smoothly set up the host side:

  1. Step 1: Install NFS Kernel Server.
  2. Step 2: Create the Export Directory.
  3. Step 3: Assign server access to client(s) through NFS export file.
  4. Step 4: Export the shared directory.
  5. Step 5: Open firewall for the client (s)

How does NFS work in Linux?

The Network File System (NFS) is a way of mounting Linux discs/directories over a network. An NFS server can export one or more directories that can then be mounted on a remote Linux machine. Note, that if you need to mount a Linux filesystem on a Windows machine, you need to use Samba/CIFS instead.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest