Maintaining the Cache

To ensure efficient use of the cache, it is important to continuously maintain it. For example, to ensure that the cached files and directories are kept up to date, you must perform a consistency check of the files stored in the cache. Some of the maintenance tasks include:

  • Checking for cache consistency

  • Checking cached file system integrity

  • Tuning the CacheFS

  • Sizing the cache

Checking Consistency on a Cached File System

Consistency checking is important so that you periodically update the file systems. To check consistency, CacheFS compares the current modification time to the pervious modification time. In case of any difference, data from files and directories is cleared and new data is retrieved from the back file system. ...

Get Special Edition Using® Solaris™ 9 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.