ensure that the site has SFS and DB2 configured as expected. This program is not able t o check the
Name Server Objects (NSOBJECT) or ACLs (NSACL) table. The object count between two s ystems
does not match because objects associated with deleted bitfiles a re not converted. To invoke this
utility, see the usage below:
db_convert_size_check
-g <SFS Global Config File>
-db <DB Names Text File>
[-m] (Metadata Consistency Check - sfs vs. db2)
[-t <Table Name>] (check specified table)
[-v] (verbose)
6.3.14.3. Run db_convert_ns_ check
Run the db_convert_ns_check script.
% db_convert_ns_check -g /.:/encina/sfs/hpss/globalconfig
The db_convert_ns_check utility is provided to perform a field level check of the SFS Name Server
metadata against the new Core Server metadata. If all tables are checked, the amount of time required
is expected to be slightly less than that of the conversion itself. The de fault behavior of this utility is
to check the first and last 1000 nsobject records. It is expected that al l sites should run this utility
with at least the default behavior. If the SFS system that was converted was in read-only mode,
certain timestamps and other metadata may not match between the two systems. The -a flag directs
this program to check all nsobject records in the DB2 table. The -f and -l flags followed by a number
will direct the program to check the first and last number of records specified i n the nsobject SFS file
against the matching records in DB2. The -v option serves as both a verbose and force option to this
program. With the -v option, the program will output errors but continue executing until normal
program termination. It will then provide an error summary, reporting the type and number of errors
encountered. To invoke this utility, see the usage below:
db_convert_ns_check
-g <SFS Global Config File>
-db <DB Names Text File>
-s <Subsystem Id>
[-a] (check all nsobject records)
[-f <Number>] (check first <Number> records)
[-l <Number>] (check last <Number> records)
[-v] (verbose and continue through errors)
6.3.14.4. Run db_convert_add ress_check
Run the db_convert_address_check script.
% db_convert_address_check -g /.:/encina/sfs/hpss/globalconfig
db_convert_address_check is provided to take HPSS bitfile descriptors and resolve them to media
volume names and addresses at each level in the hierarchy in which the file resides. The utility
determines these addresses using both SFS and DB2 metadata and compares the results. Options ar e
available to check a subset of files in the system, such as the first and last 1000 files, or every file in
the system. Running a full check using this utility takes slightly less time than the conversion itself . It
is expected that all sites should check a subset of their user files using this utility. The default
behavior of this utility is to check the first and last 1000 files. The -a option forces this program to
HPSS Installation Guide July 2008
Release 6.2 (Revision 2.0) 212