Mounting NFS 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 protocol is v4 only, the showmount command will 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 via 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.
    • 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 filesystems 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)