NFS Services Administrator's Guide

Configuring and Administering a Cache Filesystem
Administering CacheFS
Chapter 4 155
Administering CacheFS
This section describes how to administer CacheFS.
Administering CacheFS involves performing the following tasks:
“Displaying Information About a Cache” on page 155
“Checking the Integrity of a Cache” on page 156
“Forcing a Cache Consistency Check” on page 156
“Displaying CacheFS Statistics” on page 157
“Packing a Cached Filesystem on page 159
“Deleting a Cache Directory” on page 161
NOTE All CacheFS operations except displaying CacheFS statistics require
superuser permissions.
Displaying Information About a Cache
The cfsadmin command lists information about all CacheFS filesystems
stored in the specified cache and the statistics about these CacheFS
filesystems.
To display information about a specific cache directory, enter the
following command:
cfsadmin -l
cache-directory
Where:
-l Lists the filesystems stored in the specified cache, and
their statistics.
cache-directory
Specifies the name of the directory where the cache
resides.