NFS Services Administrator's Guide (5900-1632, August 2011)

warm cache A cache that contains data in its front filesystem is called a warm cache.
In this case, the cached data can be returned to the user without requiring
an action from the back filesystem.
cache hit A successful attempt to reference data that is cached is called a cache
hit.
How CacheFS Works
Figure 15 displays a sample CacheFS environment.
Figure 15 Sample CacheFS Network
In the figure, cachefs1, cachefs2, and cachefs3 are CacheFS clients. The figure also displays
an NFSv4 client which is not a CacheFS client because CacheFS cannot be used with NFSv4. The
NFS server, NFSServer, shares files and the CacheFS clients mount these files as the back
filesystem.
When a user on any of the CacheFS clients, say cachefs1, accesses a file that is part of the back
filesystem, portions of the file that were accessed are placed in the local cache.
Features of CacheFS
This section discusses the features that CacheFS supports on systems running HP-UX 11i v3.
Cache Pre-Loading via the “cachefspack” Command
The cachefspack command enables you to pre-load or pack specific files and directories
in the cache, thereby improving the effectiveness of CacheFS. It also ensures that current copies
of these files are always available in the cache. Packing files and directories in the cache
enables you to have greater control over the cache contents.
80 Configuring and Administering a Cache Filesystem