Logon to mulandaq as user mulan.
will attempt to archive all runs from the last one archived
to the current run (as stored in the ODB).
The script will restart itself automatically after 60 seconds
since the last run was archived.
The script will also attempt to maintain approx. 4 GB free space on
/data21
(i.e. will delete the oldest files when the limit is reached).
A simple locking mechanism is built-in to prevent more
than one archiving job at the same time.
WARNING! Pressing Ctr-C while the script is running
is discouraged
will attempt to archive all runs from the last one archived
to the current run. The files will go both
to the PSI archives and to the tape.
The script will restart itself automatically after 60 seconds
since the last run was archived.
The script will also attempt to maintain approx. 2 GB free space on
/data22
(i.e. will delete the oldest files when the limit is reached).
A simple locking mechanism is built-in to prevent more
than one archiving job at the same time.
WARNING! Pressing Ctr-C while the script is
running is
discouraged
cd /daq/mulan/online
There is a script archive_midas that does the job:
./archive_midas
Archiving Processed (ROOT) Files
Logon to mulandaq as user mulan.
cd /daq/mulan/online
There is a script archive_root that does the job:
./archive_root
Changing Tapes
NEW!
Script newtape is now automatically called from archive_root
so you'll be prompted and walked through tape change process.
SO DO NOT RUN IT UNLESS THE ARCHIVING CRASHED!
After Crash
If the computer crashes, or you DID press Ctrl-C when archiving
was going on, you should give option --after-crash to the
script that crashed, e.g.
./archive_midas --after-crash
or
./archive_root --after-crash
EXTREME CAUTION IS ADVISED WHEN USING THIS OPTION
AND MAKE SURE THAT THERE IS ONLY ONE INSTANCE EACH SCRIPT!
Accessing the Data in the Archives
ftp psispp 1021
user/password (see the logbook)
ftp> bin (to force binary transfer, if not set by default)
ftp> cd mulan2002/root (root files)
ftp> cd mulan2002/midas (raw midas files)
ftp> get run00124.root (to get a file)