| United States-English |
|
|
|
![]() |
NFS Services Administrator's Guide: HP-UX 11i version 3 > Chapter 4 Configuring
and Administering a Cache FilesystemConfiguring CacheFS |
|
You can use CacheFS to cache the NFS-mounted or automounted NFS filesystems. To mount a filesystem using CacheFS, you must create a cache directory in the local filesystem. This section describes the tasks that you must complete to configure CacheFS: This section describes how to configure a local filesystem as cache. To configure a local filesystem as a cache, follow these steps:
CacheFS manages its resources optimally if the entire front filesystem is dedicated to caching, or in cases where the non-cache portions of the front filesystem are static read-only files. CacheFS allows more than one filesystem to be cached in the same cache. You need not create a separate cache directory for each CacheFS mount. Normally, you need to run cfsadmin -c only once to create a single cache for all the CacheFS mounts.
This section describes how to mount an NFS filesystem using CacheFS. Before you mount an NFS filesystem with CacheFS, you must configure a directory in a local filesystem as cache. For information on how to configure a directory as cache, see “Configuring Cache in a Local Filesystem”. Following is the syntax for mounting an NFS filesystem with CacheFS:
To mount an NFS filesystem using CacheFS, follow these steps:
The data is read across the network from the NFS server when accessed for the first time. All future accesses to the data are served from the local cache, if the data is not modified. For more information on the various mount options of the CacheFS filesystem, see mount_cachefs(1M). This section describes how to automount a filesystem using CacheFS. Before you automount an NFS filesystem with CacheFS, you must configure a directory in a local filesystem as cache. For more information on how to configure a directory as cache, see “Configuring Cache in a Local Filesystem”. To automount a filesystem using CacheFS, follow these steps:
You can specify caching in an NIS AutoFS map, or with LDAP, only if all clients who use the map have their caching directory set up in the same location (/disk2/cache in the examples). For more information on CacheFS, see the mount (1M), and mount_cachefs (1M). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||