Pages

rpcdebug

The rpcdebug command allows an administrator to set and clear the Linux kernel's NFS client and server debug flags.  Setting these flags causes the kernel to emit messages to the system log in response to NFS activity; this is typically useful when debugging NFS problems.


Run following command on NFS client. Which will log all activities in the "/var/log/messages"


# rpcdebug -m nfs -s all

----------------------------------------------------------------

-m is used to specify the module other options are 

         nfsd   The NFS server.

         nfs    The NFS client.

         nlm    The Network Lock Manager, in either an NFS client                         or server.

         rpc    The Remote Procedure Call module, in either an                           NFS client or server.
-----------------------------------------------------------------

To disable the NFS logs on client which you have enabled 

# rpcdebug -m nfs -c all

where "-c" option will, Clear the given debug flags

No comments:

Post a Comment