Tuesday, June 12, 2012

Error: RPC MTAB does not exist.

Error: RPC MTAB does not exist.

# service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting RPC idmapd: Error: RPC MTAB does not exist.

 

or



# service rpcidmapd start

Starting RPC idmapd: Error: RPC MTAB does not exist.

 


solution:

--------

1)  mount -t nfsd nfsd /proc/fs/nfsd

 

2) mount -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs/

 

3) reload the nfs 

4) reload the rpcidmapd