Print

Print


Hi Yvan,

Is this a vanilla xrootd setup or is this xrootd over a shared posix file system? or xrootd as a proxy?

Can I take a look at your redirector's config file ? There are some trick on how redirector handles checksum (It should forward the request to a data server).

​--
Wei​

________________________________________
From: [log in to unmask] <[log in to unmask]> on behalf of [log in to unmask] <[log in to unmask]>
Sent: Wednesday, February 23, 2022 12:02 PM
To: xrootd-l
Subject: File checksum with root protocol and gfal-sum

Dear XRootD developers,

At our site, we are able to get the checksum (adler32) of a file using https protocol and gfal-sum through a XRootD redirector (ccxrdrli01):

$ gfal-sum  https://ccxrdrli01.in2p3.fr:1097//xrootd/in2p3.fr/disk/dteam/ycalas/test3 adler32
https://ccxroot.in2p3.fr:1097//xrootd/in2p3.fr/disk/dteam/ycalas/test3 6e10cb37


However this does not work with the root protocol:

$ gfal-sum root://ccxrdrli01.in2p3.fr:1097//xrootd/in2p3.fr/disk/dteam/ycalas/test3 adler32
gfal-sum error: 38 (Function not implemented) - Could not get the checksum (Function not implemented)


I tried to add the following directive in the redirector configuration file (same directive used in our XRootD servers):

xrootd.chksum adler32 /usr/share/xrootd/utils/xrdadler32-tpc.sh

but I now get the following error message:

$ gfal-sum  root://ccxrdrli01.in2p3.fr:1097//xrootd/in2p3.fr/disk/dteam/ycalas/test3 adler32
root://ccxrdrli01.in2p3.fr:1097//xrootd/in2p3.fr/disk/dteam/ycalas/test3 Error_accessing


I am able to get the checkum if I replace ccxrdrli01 (the redirector) by ccxrdli283 (one of our servers):

$ gfal-sum  root://ccxrdli283.in2p3.fr:1094//xrootd/in2p3.fr/disk/dteam/ycalas/test3 adler32
root://ccxrdli283.in2p3.fr:1094//xrootd/in2p3.fr/disk/dteam/ycalas/test3 6e10cb37


Is this behaviour expected? Is it possible to retrieve the checksum of a file through a redirector by using gfal-sum and the root protocol?

Cheers,

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