Mounting NFS on a Mac Client

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

Use this procedure to mount to the cluster manually from the command line:
  1. Open a terminal. For example, you can click on Launchpad > Open terminal.
  2. At the command line, enter the following command to become the root user:
    sudo bash
  3. List the NFS shares exported on the server. For example:
    showmount -e usa-node01
    Note: If the NFS protocol is v4 only, the showmount command does not return the list of exported NFS shares. Instead, to view the export list, run the following command:
    /opt/mapr/server/nfs4mgr list-exports
  4. Set up a mount point for an NFS share. For example:
    sudo mkdir /Users/testUser/Desktop/testmnt_nfs4/
  5. Mount the cluster using NFS. Use the command as in the following example, for NFS v4:
    $ sudo mount -t nfs -o sec=mode vers=4 usa-node01:/mapr /Users/testUser/Desktop/testmnt_nfs4/
    where mode is one of the following:
    • krb5 for Kerberos version 5 authentication service.
    • krb5i for Kerberos version 5 with integrity.
    • krb5p for Kerberos version 5 with privacy.
    • none for no authentication.
    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:/mapr /Users/testUser/Desktop/testmnt_nfs4/

    For NFS v3, use the command as in the following example:

    mount -t nfs usa-node01:/mapr /Users/testUser/Desktop/testmnt_nfs4/
  6. List all mounted file systems to verify that the cluster is mounted. For example:
    $ mount | grep nfs4
    usa-node01:/mapr on /Users/testUser/Desktop/testmnt_nfs4 (nfs, nodev, nosuid, mounted by testUser)