cafsfsck(8) CLIX cafsfsck(8)
NAME
cafsfsck - Checks and repairs the Cache File System (CAFS)
SYNOPSIS
/bin/cafsfsck [-n]
FLAGS
-n Runs a check on CAFS but does not modify the file system. The
-n flag is only for informational purposes.
DESCRIPTION
The cafsfsck command checks, verifies, and repairs inconsistent conditions
for CAFS. The cafsfsck command will be called by the cache start script
to check CAFS. The cafsfsck program rebuilds the free block bit map, the
modified file list, and resets the file system sanity bit, as necessary.
If the file system is consistent, the command returns with the CAFS is
already OK reply. If the file system is inconsistent, the file system is
corrected.
When cache starts up, a cafsfsstat command checks the integrity of CAFS.
If checking is needed, the cafsfsck command automatically checks and
repairs the file system upon start up.
EXAMPLES
To check and repair the Cache File System, key in the following:
cafsfsck
FILES
/etc/.ca_config_fil Contains the last good CAFS configuration
information.
NOTES
The cafsfsck command requires superuser privileges.
DIAGNOSTICS
The following is a list of common error messages and their meanings:
cafsfsck: error getting configuration structure
An error occurred reading the last good configuration of CAFS. The
file may exist, or may be invalid in some way. A specific error
2/94 - Intergraph Corporation 1
cafsfsck(8) CLIX cafsfsck(8)
message will immediately precede this one stating the exact cause.
cafsfsck: reload configuration error
An error occurred in loading the last good configuration of CAFS
into memory. A specific error message will immediately precede
this one stating the exact cause.
cafsfsck: error determining if CAFS is running
An error occurred while trying to determine if CAFS was running.
The device file /dev/cache may be missing.
cafsfsck: CAFS is running
CAFS is running. No file system checking operations can be
performed on a running file system.
cafsfsck: CAFS is already OK. No fsck necessary.
The CAFS is already in a mountable and clean state. No repair
operation is necessary. No action was taken.
cafsfsck: recovery was not enabled during runtime. Cannot fsck CAFS
The recovery flag was not enabled in CAFS configuration file.
Recovery is only possible for CAFS when it was invoked previously
with recovery enabled.
cafsfsck: Setting CAFS state to OK
The CAFS was successfully repaired. The CAFS state is being set to
a mountable and clean state.
cafsfsck: CAFS modified
Repairs were necessary, and CAFS has been modified.
cafsfsck: CAFS NOT modified
The CAFS was not modified since the -n option, indicating no
writing was to be performed to CAFS, was specified.
EXIT VALUES
The cafsfsck command exits with a value of 0 if successful. If
unsuccessful, it exits with a nonzero value.
RELATED INFORMATION
Commands: cafsfsstat(8), ffsfsck(8), fsck(8), odfsfsck(8)
2 Intergraph Corporation - 2/94
cafsfsck(8) CLIX cafsfsck(8)
2/94 - Intergraph Corporation 3