Administrative Tasks

keyBuildAll

The $FS_HOME/util/keyBuildAll script rebuilds all the

 

key files for the RAIMA database. Rebuilding the file keys is a

 

two step process that also rebalances the B-tree structure of the

 

database.

 

 

To rebuild the file keys, follow the steps below:

 

Step 1.

Reinitialize the file.

 

Step 2.

Sequentially reads each record is from each data file

 

 

record and recreates each key file is from the record

 

 

contents.

 

Run the keyBuildAll script if one of the following occurs:

 

• If any errors were detected by the checkDBALL script.

 

• Periodically, based on system usage. (check the system

 

usage in the previous table)

 

For instructions on file recovery or UNIX to FileServ

 

comparison, see “Audit Database” on page 4-17.

Database Utilities

There are 19 database utilities that allow you to add, modify,

 

delete and query a specific FileServ table.

The table utilities are: activefl, blockpos, cfgdir, classdef, classdir, devdb, dirdb, exitinfo, externmed, fileattr, filecmnt, filecomp, filexpir, keytest, medbpos, mediadir, transdb, trashcomp, and trashname.

1-14

System Tasks

600716 Rev A

Page 30
Image 30
ADIC FileServ Version 4.0 600716 Rev A manual KeyBuildAll