System Administration Guide: Devices and File Systems

How to Locate the CacheFS Log File

You can also use the cachefslog command with no options to locate a log file for a particular mount point.


$ cachefslog /mount-point

/mount-point specifies the CacheFS file system for which you want to view the statistics.

The following example shows what you would see if a log file has been set up. The location of the log file is /var/tmp/stufflog.


$ cachefslog /home/stuff
	 /var/tmp/stufflog: /home/stuff

The following example shows that no log file has been set up for the specified file system.


$ cachefslog /home/zap
	not logged: /home/zap