Collecting diagnostic data for NFS
This topic describes the procedure for collecting diagnostic data for NFS services.
Diagnostic data can be generated by increasing the logging of the NFS server.
ganesha_mgr set log COMPONENT_ALL FULL_DEBUG
Log name | Description |
---|---|
NULL | No logging |
FATAL | Only asserts are logged |
MAJ | Only major events are logged |
CRIT | Only critical events are logged where there is malfunction, that is, for a single request |
WARN | Events are logged that may be intended but may otherwise be harmful |
EVENT | Default. level, which includes some events that are expected during normal operation (that is, start, grace period), |
INFO | Enhanced level |
DEBUG | Further enhanced, which includes events-relevant problem determination |
MID_DEBUG | Further enhanced, which includes some events for developers |
FULL_DEBUG | Maximal logging, which is mainly used for development purposes |
The CES NFS log file (default is /var/log/ganesha.log) will see a lot more updates eventually generating very large files or even filling up all of your disk.
To avoid issues with space usage, revert to the default logging by using the ganesha_mgr set log COMPONENT_ALL EVENT command or reduce the set of components by using "FULL_DEBUG" to a reasonable subset of server components. For example, by replacing "COMPONENT_ALL" with "COMPONENT_DISPATCH".
Other possible components can be listed by using ganesha_mgr getall logs. The
ganesha_mgr
changes are not persistent. A server restart will reset these settings
to the settings in the cluster configuration as described in the mmnfs config
list command.