 |
Stage
Evaluation |
|
Stage evaluation invokes the Stage
Strategy's evaluation function to determine if it is time to stage data to
tape. If it is time to stage data the following actions are taken:
- The set of run data directories (~/experiment/run*) which have not yet
been staged is enumerated.
- The stager sizes each of these directories.
- The stager determines tape boundaries if necessary and breaks the stage up
into tapes.
- The stager sequentially writes the runs in a tape to tape using tar, for
each run, the file, tape number and tar file number are logged in the file
~/experiment/TapeIndex.txt This file is an ordinary text file.
An extract from it is shown below:
---------------------- Thu Jul 12 08:23:39 EDT 2001 Stage pass performed -----------------
Thu Jul 12 08:23:39 EDT 2001 /usr/TruCluster/users/fox/experiment/run27 Staged to Tape 0 in tar file# 1
Thu Jul 12 08:23:39 EDT 2001 /usr/TruCluster/users/fox/experiment/run28 Staged to Tape 0 in tar file# 1
Thu Jul 12 08:23:39 EDT 2001 /usr/TruCluster/users/fox/experiment/run29 Staged to Tape 0 in tar file# 1
Thu Jul 12 08:23:39 EDT 2001 /usr/TruCluster/users/fox/experiment/run45 Staged to Tape 0 in tar file# 1
Thu Jul 12 08:23:39 EDT 2001 /usr/TruCluster/users/fox/experiment/run31 Staged to Tape 0 in tar file# 1
Thu Jul 12 08:23:39 EDT 2001 /usr/TruCluster/users/fox/experiment/run15 Staged to Tape 0 in tar file# 1
- After writing a tape, the Stager allows you to examine the output of the
tar command so that you can determine if the tar succeeded. It then prompts
you to perform the cleanup actions described here
Stager Contents