NFS Services Administrator's Guide

Configuring and Administering a Cache Filesystem
Administering CacheFS
Chapter 4 163
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:_mnt1
At the end of the output, the Cache IDs of all the CacheFS filesystem
using this cache directory are displayed. The CacheID of the
filesystem that you have deleted must not appear in this list. In this
example, the /tmp/mnt filesystem has been deleted.
To delete a cache directory and all the CacheFS filesystems in that
directory, do the following:
1. To delete all the CacheFS filesystems and the cache directory, enter
the following command:
cfsadmin -d all
cache-directory
This deletes all the CacheFS filesystems and the cache directory in
which they reside.
For more information on CacheFS, see cfsadmin (1M), fsck_cachefs
(1M), mount (1M), mount_cachefs (1M), cachefsstat (1M), cachefspack
(1M) and packingrules (4).