NFS Services Administrator's Guide
Configuring and Administering a Cache Filesystem
Administering CacheFS
Chapter 4162
all Specifies that all cached filesystems from the
cache-directory are to be deleted.
cache-directory
Specifies the name of the cache directory where the
cache resides.
NOTE The cache directory must not be in use when attempting to delete a
cached filesystem or the cache directory.
To delete a CacheFS filesystem, do the following:
1. To identify the Cache ID of the CacheFS filesystem, enter the
following command:
cfsadmin -l
cache-directory
An output similar to the following output is displayed:
cfsadmin: list cache FS information
maxblocks 90%
minblocks 0%
threshblocks 85%
maxfiles 91%
minfiles 0%
threshfiles 85%
maxfilesize 3MB
srv01:_tmp:_mnt
srv01:_tmp:_mnt1
At the end of the output, the Cache IDs of all the CacheFS filesystem
using this cache directory are displayed. In this example, /tmp/mnt
and /tmp/mnt1 directories are mounted on srv01.
2. To delete the CacheFS filesystem corresponding to the Cache ID,
from the specified cache directory, enter the following command:
cfsadmin -d
CacheID
cache-directory
3. To verify if the CacheFS filesystem is deleted, enter the following
command: