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.

Perform the following steps to use the bundled portmap:
  1. Stop the nfs/rpcbind/portmap services provided by the platform.
    service nfs stop
    service rpcbind stop
  2. Start the included portmap service using one of the following commands:
    hdfs portmap
    OR
    hdfs --daemon start portmap