Re: [ROOT] rfio problem

From: yves schutz (schutz@in2p3.fr)
Date: Wed Apr 03 2002 - 18:53:39 MEST


I have exactly the same problem at Lyon :

root [0] TFile * f = 
TFile::Open("rfio:$HPSS/ppr/sim/2001-02/V3.06.02/00001/00064/galice.root")
Error in <TRFIOFile::TFile>: file 
rfio:$HPSS/ppr/sim/2001-02/V3.06.02/00001/00064/galice.root is truncated 
at 162155888 bytes: should be 1466022295, trying to recover
Recovering key: AliTPCParamSR:75x40_100x60 at address:307
Recovering key: TGeometry:AliceGeom at address:1369
Recovering key: TH1D:TRspectrum at address:19281
Recovering key: TTree:TE at address:19535
Recovering key: TTree:TreeQA at address:28038
Recovering key: TFile:galice.root at address:34173
Recovering key: TList:StreamerInfo at address:34952
Recovering key: TFile:galice.root at address:81215
Recovering key: TTree:TreeD0 at address:817588
Recovering key: TTree:TreeS0 at address:817828
Recovering key: TTree:TreeR0 at address:818070
Recovering key: TTree:TE at address:937762390
Recovering key: TTree:TreeK0 at address:1461793678
Recovering key: TTree:TreeH0 at address:1462230978
Recovering key: AliRun:gAlice at address:1463592330
Warning in <TRFIOFile::Recover>: successfully recovered 15 keys

Yves

Fons Rademakers wrote:

>Hi Geidar,
>
> is there a way you can make the first two files available to me, via
>afs for example? Or in the /tmp of some CERN pc.
>
>
>-- Fons
>
>
>On Wed, 2002-04-03 at 16:16, Geidar Agakichiev wrote:
>
>>Hello,
>>we have problem to open files by rfio. First file open without any
>>problem. All next one look like truncated and root try recover them.
>>======================================================================
>>
>>root [0] TFile *f1 =
>>TFile::Open("rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0301.root")
>>root [1] TFile *f2 =
>>TFile::Open("rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0304.root")
>>Error in <TRFIOFile::TFile>: file
>>rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0304.root
>>is trunca
>>ted at -1073920108 bytes: should be 436395357, trying to recover
>>Recovering key: TList:StreamerInfo at address:56557748
>>Recovering key: TFile:./outdata/dst.root at address:174962435
>>Recovering key: TTree:T at address:395960694
>>Recovering key: TTree:T at address:433558035
>>Recovering key: TFile:./outdata/dst.root at address:436395161
>>Warning in <TRFIOFile::Recover>: successfully recovered 5 keys
>>root [2] TFile *f3 =
>>TFile::Open("rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0305.root")
>>Error in <TRFIOFile::TFile>: file
>>rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0305.root
>>is trunca
>>ted at -1073920108 bytes: should be 429088467, trying to recover
>>Recovering key: TList:StreamerInfo at address:56230838
>>Recovering key: TFile:./outdata/dst.root at address:230793869
>>Recovering key: TTree:T at address:394689290
>>Recovering key: TTree:T at address:426358145
>>Recovering key: TFile:./outdata/dst.root at address:429088271
>>Warning in <TRFIOFile::Recover>: successfully recovered 5 keys
>>root [3] .q
>>[na45pc11] /shift/na45pc11/data04/cerescdr/prodCal160Gev/macros > root
>>  *******************************************
>>  *                                         *
>>  *        W E L C O M E  to  R O O T       *
>>  *                                         *
>>  *   Version   3.02/07   10 January 2002   *
>>  *                                         *
>>  *  You are welcome to visit our Web site  *
>>  *          http://root.cern.ch            *
>>  *                                         *
>>  *******************************************
>>
>>Compiled for linux with thread support.
>>
>>CINT/ROOT C/C++ Interpreter version 5.15.25, Jan 6 2002
>>Type ? for help. Commands must be C++ statements.
>>Enclose multiple statements between { }.
>>Load CERES ROOT shared library
>>Loaded.
>>
>>Welcome to the CERES ROOT examples
>>Type .x examples.C to get a toolbar from which to execute the examples
>>root [0] TFile *f3 =
>>TFile::Open("rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0305.root")
>>root [1] TFile *f2 =
>>TFile::Open("rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0304.root")
>>Error in <TRFIOFile::TFile>: file
>>rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0304.root
>>is trunca
>>ted at -1073920108 bytes: should be 436395357, trying to recover
>>Recovering key: TList:StreamerInfo at address:56557748
>>Recovering key: TFile:./outdata/dst.root at address:174962435
>>Recovering key: TTree:T at address:395960694
>>Recovering key: TTree:T at address:433558035
>>Recovering key: TFile:./outdata/dst.root at address:436395161
>>Warning in <TRFIOFile::Recover>: successfully recovered 5 keys
>>root [2] TFile *f1 =
>>TFile::Open("rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0301.root")
>>Error in <TRFIOFile::TFile>: file
>>rfio:/shift/na45pc09/data04/cerescdr/prodCal160Gev/pion_tree-160gev-1477-0301.root
>>is trunca
>>ted at -1073920108 bytes: should be 435944745, trying to recover
>>Recovering key: TList:StreamerInfo at address:56745430
>>Recovering key: TTree:T at address:394917449
>>Recovering key: TTree:T at address:433163800
>>Recovering key: TFile:./outdata/dst.root at address:435944407
>>Recovering key: TFile:./outdata/dst.root at address:435944603
>>Warning in <TRFIOFile::Recover>: successfully recovered 5 keys
>>
>>Best regards,           Gueidar Agakichiev.
>>

-- 
Yves SCHUTZ  (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE   
SUBATECH                                                          
Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71         
4, rue Alfred Kastler     Fax      : (+33/0) 2 51 85 84 79        
F-44070 Nantes cedex 03   e-mail   : yves.schutz@subatech.in2p3.fr



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET