Become superuser.
Create a cache using the -c option of the cfsadmin(1M) command.
# cfsadmin -c cache-directory |
cache-directory |
Indicates the name of the directory where the cache resides. For more information, see the cfsadmin man page. |
After you have created the cache, do not perform any operations within the cache directory itself. This causes conflicts within the CacheFS software.
The following example creates a cache in the /local/mycache directory by using the default cache parameter values.
# cfsadmin -c /local/mycache # |