[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 2

fsck_cachefs Command

Purpose

Checks the integrity of data cached with CacheFS.

Syntax

fsck_cachefs [ -m ] [ -o noclean ] cache_directory

Description

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.

Flags

-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.

Examples

To force a check on the cache directory, enter:

fsck_cachefs -o noclean /cache3

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]