Changing Cache Location

The default directory for the Cache Manager's cache is dcelocal/var/adm/dfs/cache. You can change this to a directory on another partition if more space is available. Use the du or df command (or an equivalent command) to check partition size and fullness.

You can change the location of the cache by editing the CacheInfo file or by using the -cachedir option with the dfsd command. (See Part 2 of this guide and reference for more information about the use of the dfsd command.)

To change the cache location, do the following:

1. Log in as root on the machine.

2. Use a text editor to change the second field of the CacheInfo file (the information between the two colons). The new directory must be on the local disk of the machine. The following example shows the cache directory specified in the CacheInfo file changed to /usr/cache:

/...:/usr/cache:15000

3. Reboot the machine using /etc/reboot or its equivalent. (Consult your system documentation for information on the correct rebooting command for your workstation.)

4. Move to the old cache directory and delete it using the rm -rf command.