Lesson 6

Date: 6/11/2018
Network File System (NFS)
Linux System Administration

NFSv3 daemons
  • NFSv2 and NFSv3 environment consist of independent protocols and services working with RPC: RPC itself, mount, lock management, quota, and NFS.
  • They register their processes with portmap (or rpcbind).
  • The portmap (rpcbind) holds the port, service number and version numbers for each RPC service. If the rpcbind goes down, then all services need to be restarted after the rpcbind is restarted.

  • NFS server daemons
    rpcbind handles RPC requests and registers ports for RPC services
    rpc.mountd handles the initial mount requests
    nfsd or [nfsd] handles data streaming
    rpc.rquotad handles user file quotas on exported volumes
    [lockd] handles file locking to make sure several processes don't write into the same file
    rpc.statd lock monitor daemon works with [lockd]
    Note, [nfsd] and [lockd] above mean they run by the Kernel threads and don't need to be started by a user.

  • NFS client daemons



  • To verify that the services have started and registeresd with rpcbind, run command
    rpcinfo -p

  • Take me to the Course Website