System Administration Guide

Setting Up a Cached File System Task Map

Table 29-1 Task Map: Setting Up a Cached File System
 

Task 

 

Description 

 

For Instructions, Go To 

 

Create a Cache  

 

Use the cfsadmin command to create a cache

 

"How to Create a Cache"

 
          
 

Mount File Systems in the Cache  

 

Mount a file system in a cache by using the mount command

 

"How to Specify a File System to Be Mounted in a Cache With mount"

 
 

 

 

Cache a file system by editing the /etc/vfstab file

 

"How to Mount a File System in a Cache by Editing the /etc/vfstab File"

 

 

 

Cache a file system by using AutoFS  

 

"How to Mount a File System in a Cache With AutoFS"

        

How to Create a Cache

  1. Become superuser.

  2. 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.


    Note -

    After you have created the cache, do not perform any operations within the cache directory itself. This causes conflicts within the CacheFS software.


Example--Creating a Cache

The following example creates a cache in the /local/mycache directory by using the default cache parameter values.


# cfsadmin -c /local/mycache
#