Wojcik made a few tests a Lyon with root and their rfio and the problem
persits. Copy the file on disk and opening it with root creates no problem.
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