Re: [ROOT] Problem accessing file via TRFIOFile

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Jun 11 2004 - 15:29:41 MEST


I've not seen this problem myself. I've cc'ed the Castor team, maybe
they have a suggestion.

Cheers, Fons.


On Fri, 2004-06-11 at 14:21, Joern Wuestenfeld wrote:
> Hello ROOT experts,
> 
> I'm getting a strange message from my attempt to access a file via 
> TRFIOFile:
> 
>  >TRFIOFile *f = new 
> TRFIOFile("rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root")
> Error in <TRFIOFile::Init>: file 
> rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root is 
> truncated at 1074855741 bytes: should be 1745652030, trying to recover
> Warning in <TRFIOFile::Init>: no keys recovered, file has been made a Zombie
> 
> My ROOT version used is 303-09 without threads.
> Using a version compiled with debugging symbols, I get for the same file:
> 
>  >TRFIOFile *f = new 
> TRFIOFile("rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root")
> Error in <TRFIOFile::Init>: file 
> rfio:gsitsma:/hades/nov02/dst/gen2/be/be02340213455_dst.root is 
> truncated at 1074855741 bytes: should be 1745652030, trying to recover
> Info in <TRFIOFile::Recover>: recovered key 
> TFile:/tmp/be02340213455_dst.root at address 34346611
> Info in <TRFIOFile::Recover>: recovered key 
> TFile:/tmp/be02340213455_dst.root at address 34347342
> Warning in <TRFIOFile::Init>: successfully recovered 2 keys
> 
> In neither case the file is usable afterwards. I'm wondering if there is 
> a size limit in files as the truncation takes always place a t a size of 
> 1.01 GB independent of the total file size. Note, that the files where 
> created such, that they where closed, if the size reaches 1.8 GB and a 
> new file was opened.
> If I would retrieve the file from our taperobot, the file can be 
> accessed via TFile successfully. A file with a size smaller that 1.01 GB 
> can be accessed without any problems.
> 
> Any idea what could be wrong?
> 
> Best regards,
> 
> Joern
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET