Checks the integrity of data cached with CacheFS.
fsck_cachefs [ -m ] [ -o noclean ] cache_directory
The CacheFS version of the fsck command checks the integrity of a cache directory. By default it corrects any CacheFS problems it finds. There is no interactive mode. The most likely invocation of fsck_cachefs for CacheFS filesystems is at boot time from an entry in /etc/rc.nfs.
Item | Description |
---|---|
-m | Check, but do not repair. |
-o noclean | Force a check on the cache even if there is no reason to suspect there is a problem. |
To force a check on the cache directory, enter:
fsck_cachefs -o noclean /cache3