Mounting NFS to MapR-FS on a Cluster Node
You can automatically or manually mount a NFS to the MapR-FS on a cluster node.
Automatically Mount
Use this procedure to automatically mount NFS to MapR-FS on the cluster
my.cluster.com at the
/mapr
mount point.- Set up the mount point by creating the
directory.
sudo mkdir /mapr
- Add the following line to
/opt/mapr/conf/mapr_fstab:
<hostname>:/mapr /mapr hard,nolock
NOTE: The change toEvery time your system is rebooted, the mount point is automatically reestablished according to the/opt/mapr/conf/mapr_fstab
will not take effect until Warden is restarted.mapr_fstab
configuration file.
Manually Mount
Use this procedure to manually mount NFS to MapR-FS on the cluster my.cluster.com
at the
/mapr
mount point.- Set up a mount point for an NFS share.
sudo mkdir /mapr
- Mount the cluster via NFS.
sudo mount -o hard,nolock usa-node01:/mapr /mapr
NOTE: When you mount manually from the command line, the mount point does not persist after a reboot.