Troubleshooting Network File Systems

This table provides the basic command syntax for some common NFS troubleshooting tasks in the Oracle Solaris 11.4 release. For more information, see the nfsref(8) and nfsstat(8) man pages.

Action Command

Remove all file, record, and share locks for an NFS client

$ clear_locks -s hostname

Display file system operations statistics by file system type and by mount point

$ fsstat nfsversnum nfsversnum filesystem

Display NFS server statistics

$ nfsstat -s

Display the current NFS information

$ nfsstat -m

Display stack trace for NFS process

$ /usr/bin/pstack nfs_process_id

Display RPC service information for a host

$ rpcinfo -s hostname