Administrative Tasks
600716 Rev A Utilities 3-5
Utilities
If you experience unusual behavior when running a FileServ
command, look under $FS_HOME/internal/fsdb for any
data or key files that are unusually large. These files will have a
a.d01 or .k0x extension, where “x” is a number between 1
and 5. Unusually large file size may indicate there is a problem
with the database. If running dbcheck indicates a key file error,
run keybuild to correct the problem.
-k Performs key file structure ch ecking.
-dk Causes dbcheck to ensure the key file
contains the key for each key fiel d in each data
file.
-kd Causes dbcheck to ensure that a record
exists for each key in eachkey file.
-ts Performs timestamp consistency checks.
-r# Reports perc entage complete to the file
stderr.
-p# Sets to the # the number of pages in the cache
for use in dbcheck.
-f# Sets to # the number of open files for
dbcheck.
-t Prints a tra ceback of the B-tree when a key file
inconsistency is detected.
-c Prints a count of objects scanned in the check.
dbname To determine the name ofthe database ,
look in the $FS_HOME/internal/fsdb
directory for files ending with the .dbd
extension.
Option Description