Mounting NFS on a Linux Client

Describes how to mount a NFS server on a Linux client.

You can manually mount NFS on a Linux client when your system starts up.

Note: On nodes running CentOS, use the VIP for mounting because, by default, the mount command will use the physical IP of the node.
  1. List the NFS shares exported on the server.

    For example, run the following command for NFS version 4 servers:

    /opt/mapr/server/nfs4mgr list-exports

    If the NFS protocol is not version 4 only, use the showmount command to retrieve the list of exported NFS shares. For example:

    showmount -e usa-node01
  2. Mount the cluster using NFS.
    For example:
    mount -t nfs4 -o sec=krb5 usa-node01:/<psuedo_mapr> /mapr
Tip: For the best performance, use NFS v4.0.
Use the vers=4.0 parameter in the mount command. For example:
mount -t nfs4 -o sec=krb5,vers=4.0 usa-node01:/<psuedo_mapr> /mapr
Note: When you mount manually from the command line, the mount point does not persist after a reboot.