Wednesday, August 3, 2011

Debugging NFS

Debugging nfs problems can be frustrating. I just found on stackoverflow,
that this helps you get more info from the logs:
 
* RPC debugging:
       echo 2048 > /proc/sys/sunrpc/rpc_debug
       grep . /proc/net/rpc/*/content
       ls -l /proc/fs/nfsd
       cat /proc/fs/nfs/exports 
* NFS debugging:
      # turn on linux nfs debug
      echo 1 > /proc/sys/sunrpc/nfs_debug
      # turn off linux nfs debug
      echo 0 > /proc/sys/sunrpc/nfs_debug 
 
HTH 

No comments:

Post a Comment