Start and stop 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 start portmap.
  3. Start mountd and nfsd using one of the following commands: hdfs nfs3 or 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.
  4. Stop the NFS Gateway services. stop nfs3 stop portmap

Verify the validity of the NFS services