You are here

Stub File Contents

NB: The most recent version of this document can be found in the knowledge base article: Stub File Contents.

Every file written to tape is described by a small stub file that resides on a network share accessible via the path /mss on supported machines.  The ownership and permission information of each file inside the tape library,  can be seen by issuing "ls -l " command on a corresponding stub file or a directory. Each stub file is a text file listing the tape file properties in newline-separated <tag>=<value> statements.

 

 

 

bitfileIndex

An integer that uniquely identifies the tape file in the jasmine databae.

sourcePath

The original location of the source file that was written to tape

size

The number of bytes in the file

crc32

The CRC-32 checksum of the files

md5

The MD5 hash of the file

owner

This field is always 'root'. The original intent seems to have been to associate an owner with a tape file. The current system does not do this, but futurerevisions may.

bfid

A string that uniquely identifies a file on tape.

volser

The volume serial number of the tape on which the file resides.

filePosition

The logical block location of the file on tape.

volumeSet

The name of the volume set to which the tape on which this file resides belongs.

stubPath

The path assigned to the tape file.

dup.*

Fields beginning with "dup." describe the file's duplicate. Raw data written from the experimental halls is automatically duplicated. When the original is first written, the stub file will not contain these entries. Only after the duplicate is written will these fields be appended to the original's stub file.