System Administration Guide: Devices and File Systems

ProcedureHow to Create the Cache

  1. Become superuser on the client system.

  2. Create the cache.

    # cfsadmin -c /cache-directory

    where cache-directory indicates the name of the directory where the cache resides.

    For more information, see cfsadmin(1M).

    Note –

    After you have created the cache, do not perform any operations within the cache directory itself. Doing so could cause conflicts within the CacheFS software.

Example 19–1 Creating the Cache

The following example shows how to create a cache in the /local/mycache directory by using the default cache parameter values.

# mkdir /local
# cfsadmin -c /local/mycache