Use the fsck command to check the integrity of CacheFS file systems. The CacheFS version of the fsck command automatically corrects problems without requiring user interaction. You should not need to run the fsck command manually for CacheFS file systems because the fsck command is run automatically at boot time or when the file system is mounted. If you want to manually check the integrity, you can use the following procedure.
For more information, see fsck_cachefs(1M).
Become superuser on the client system.
Check the file systems in the specified cache.
# fsck -F cachefs [-m -o noclean] /cache-directory
Causes the fsck command to check a CacheFS file system without making any repairs.
Forces a check on the CacheFS file systems only. Does not make any repairs.
Indicates the name of the directory where the cache resides.
# fsck -F cachefs /local/mycache #