系统管理指南:设备和文件系统

如何停止 CacheFS 日志记录

使用 cachefslog -h 选项可停止日志记录。


$ cachefslog -h /mount-point

以下示例说明如何停止对 /home/stuff 的日志记录。


$ cachefslog -h /home/stuff

not logged: /home/stuff

如果得到的系统响应与此处指定的响应不同,则说明未成功停止日志记录。确定使用的日志文件名和挂载点是否正确。