Start the NFS Gateway services

You must start the following daemons to run the NFS services on the Gateway: rpcbind (or portmap), mountd, and nfsd. The NFS Gateway process includes both nfsd and mountd. Although NFS Gateway works with portmap included with most Linux distributions, you must use the portmap included in the NFS Gateway package on some Linux systems such as SLES 11 and RHEL 6.2.

  1. Stop the nfs/rpcbind/portmap services provided by the platform.
    service nfs stop

    service rpcbind stop

  2. Start the included portmap package using one of the following commands: hadoop portmap or hadoop-daemon.sh start portmap.
  3. Start mountd and nfsd using one of the following commands: hdfs nfs3 or hadoop-daemon.sh start nfs3.
    No root privileges are required for this command. However, verify that the user starting the Hadoop cluster and the user starting the NFS Gateway are the same.
Verify the validity of the NFS services