Content-type: text/html Manpage of Schksum

Schksum

Section: User SRB Commands (1)
Updated: April 2004
Index Return to Main Contents
 

NAME

Schksum - Checksum SRB data files and/or collections.  

SYNOPSIS

Schksum [-f|l|c] [-n replNum] [-rv] srbFile|collection ...

TargetName  

DESCRIPTION

Schksum performs checksum operation on one or more existing files stored in the SRB space. If the input is a collection and the -r option is specified, a recursive checksum will be carried out for all files in the collection and subcollections.

If no f|l|c option is specified, by default, it checks whether a checksum for this file already exists in MCAT. If it does, nothing will be done. If the checksum does not exist in MCAT, the server computes the checksum and registers it with MCAT.

The -c option puts the operation in verification mode. The server computes a checksum value based on the data stored in the SRB storage vault and compares it with the value registered with MCAT if a registered value exists. An error will be returned if they don't match.

The -f option forces the computation and registration of checksum regardless of the existence of the value in MCAT. The existing checksum is overwritten and no comparison is done between the newly computed and existing values.

The -l option lists the checkum values stored in MCAT. No computation of checksum is done.

 

OPTIONS

-f
force mode. Forces the computation and registration of checksum.
-c
verification mode. Computes checksum without registering. Verifies newly computed values with the MCAT values.
-l
list mode. Lists the checkum values stored in MCAT.
-r
recursively checksum files in the collection and subcollections.
-v
verbose mode. Not relevant with the -l option.
-n
replNum checksum only the replica with replica number replNum.
 

SEE ALSO

Sget(1), Sput(1),


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:44:15 GMT, July 02, 2004