[Brahms-dev-l] program to find duplicate data in our data disks.

From: Hironori Ito <hito@rcf.rhic.bnl.gov>
Date: Tue Jun 28 2005 - 11:11:32 EDT
Hello.  I made a little program (script) to search our database for 
duplicate data.   It is called CheckDuplicateData.rb, and it is located 
in ~bramreco/bin directory.  To use this program, you need to specify 
the first and last run number, a production number and data types.  For 
example, if you want to search runs between 10000 and 10100 for ltr 
files with production version 1, you do,  "  
~bramreco/bin/CheckDuplicateData.rb -f 10000 -l 10100 -p 1 -t 'ltr'  
"    And, the following is the output.

Searching for duplicate data from FILECATALOG database....
run #    list of version #
10013   0 1


As you can see there is one duplicate run (10013).

When you are doing reconstruction, it is highly advisable to check if 
there are any old versions for that run.  And, if you find old version, 
you should delete them.  (make sure to use the right program for that.) 
  Otherwise, we don't have enough disk space.

Hiro




_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Tue Jun 28 11:11:45 2005

This archive was generated by hypermail 2.1.8 : Tue Jun 28 2005 - 11:11:49 EDT