2 create database from file system – HP Sentry User Manual

Page 24

Advertising
background image

Section 1 - 6

SENTRY User’s Guide



Fitzgerald & Long

1.2 CREATE DATABASE FROM FILE SYSTEM

This section describes the program which create the B-trees to index your file system directories, files, file
owners and groups. On a system with a very large number of files, this process may take a number of
hours. This is a “read only” process. If does NOT interfere with your normal processing.

FILE.LOAD Load SENTRY Filesystem Data Base 10/19/00


Enter "OK" to begin processing or "<ESC>" to exit : OK


Starting phantom to build sentry.output file...


Phantom task being performed by User 4097.

Output file is "SENT978972046C".


Reading sentry.output file and building BTREE records...


Path - /usr/bin/mediainit


Count - 185

Figure 8 - This is an example of the messages displayed by the program which creates the B-tree indices
of your file system.


We are very proud of SENTRY’s balanced B-tree system of indices. Through the use of B-trees, which
are ordered cross reference files, we are able to index your entire file system offering you a “file manager”
style window to view your file structure, permissions, file owners and groups in a very efficient manner
conserving not only CPU cycles but disk storage space as well.

On entering “OK” to start execution of this program, the old B-trees (if any) are cleared. Two processes
are started. One process reads the UNIX I-node tables and writes the information into a text file. A second
process reads in the text file and creates the B-tree entries.

Because this can be a very time consuming process and should be repeated on a regular basis, SENTRY
offers a “batch” processing option which may be scheduled through cron or executed through a phantom
process. This command is:

SENTRY.FILE.LOAD (BATCH)


To execute as a background job enter:

PHANTOM SENTRY.FILE.LOAD (BATCH)


You must be in the “sentry” directory to execute this job. Therefore, if you plan to use cron, the cron
process must “cd” into the “sentry” directory BEFORE executing the command.

Advertising