System Administration Guide: Basic Administration

How to Create the Cache

  1. Become superuser on the client system.

  2. Create the cache.


    # cfsadmin -c /cache-directory
    

    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—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