Print

Print


Hi Yvan,

By default all that prepare does is seed the location cache. If you want 
staging you either have to write a plug-in (easy to do with the 
generalized API we introduced) or configure tape staging for your storage. 
This can be raw staging or FRM-type staging. IN2P3 had this configured 
decades ago so perhaps the knowledge is still there. Otherwise, we will 
need a crash course for you.

Andy


On Fri, 17 Mar 2023, Yvan CALAS wrote:

> Hi All,
>
> I would like to use the 'xrdfs prepare' command to trigger the staging of a file but it doesn't seem to work as expected:
>
> $ xrdfs myserver:1999 prepare -s /hpss/in2p3.fr/group/km3net/data/KM3NeT_00000049/v7.1/reco/datav7.1.jorcarec.jsh.aanet.00008003.root
> $
>
> No error is returned and in the logs I can only see the following lines on the server with 'xrootd.trace all' directive:
>
> 230317 15:24:42 43974 XrootdXeq: mylogin.13808:27@xxxxx pub IP64 login
> 230317 15:24:42 43974 mylogin.13808:27@xxxxx XrootdProtocol: 0100 req=prepare dlen=100
> 230317 15:24:42 43974 mylogin.13808:27@xxxxx XrootdResponse: 0100 sending 56 data bytes
> 230317 15:24:42 43974 XrootdXeq: mylogin.13808:27@xxxxx disc 0:00:00
>
> Note that he staging of that file is working fine with the xrdcp command.
>
> Extract of my configuration file:
>
> ==============================
> [...]
> xrootd.trace all
>
> all.redirect target
> all.redirect remote ccxrdrli+
> all.role server
> all.manager myredirector xxxx
> all.export /hpss stage purge
>
> oss.xfr 50
>
> frm.xfr.copycmd in stats /usr/share/xrootd/utils/stagingWrapper.py $RFN $DST
> frm.xfr.copymax 70
> ==============================
>
>
> Is there some extra directives to put in the XRootD configuration file in order to make it work?
>
> Thanks for your help,
>
> Yvan
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1