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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.