Print

Print


Hi Alastair,


both the xrootd servers' built-in adler32 checksum and /usr/bin/xrdadler32 calculated the checksum and then try to save the result into an extended attribute. So a simple way to test is to run /usr/bin/xrdadler32 command on the server (ceph-gw2.gridpp.rl.ac.uk) against file /atlas:scratchdisk/test/file35. Hopefully this will give you the same error and help you debug.


regards,

--
Wei Yang  |  [log in to unmask]  |  650-926-3338
________________________________
From: alastairdewhurst <[log in to unmask]>
Sent: Wednesday, January 4, 2017 3:43 PM
To: xrootd/xrootd
Cc: Subscribed
Subject: Re: [xrootd/xrootd] checksum not supported by libXrdCephXattr (#443)


Hi Andy

Sorry I had missed that piece of documentation. If I try adding:
xrootd.chksum max 3 adler32 /usr/bin/xrdadler32

When I run a command I get:
$ xrdcp --cksum adler32:print /tmp/vm21_site_bdii root://ceph-gw2.gridpp.rl.ac.uk:1094/atlas:scratchdisk/test/file35
[353.8kB/353.8kB][100%][==================================================][353.8kB/s]
Run: [ERROR] Invalid response

If instead I try:
xrootd.chksum adler32

When I run a command I get:
-bash-4.1$ xrdcp --debug 1 --cksum adler32:print /tmp/vm21_site_bdii root://ceph-gw2.gridpp.rl.ac.uk:1094/atlas:scratchdisk/test/file36
[353.8kB/353.8kB][100%][==================================================][70.77kB/s]
Run: [ERROR] Server responded with an error: [3005] Unable to checksum atlas:scratchdisk/test/file36; no data available

I have actually looked again at the xattr stored by Xrootd and it isn't actually writing a checksum to Ceph. The GridFTPplugin which is based on the same libradosstriper libaries is writing a checksum, which is what confused me.

I have tried the xrdadler32 command on files with and without a checksum stored and I am still getting the same error: "Error accessing "

Not sure what I should try next?

Alastair

-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/xrootd/xrootd/issues/443#issuecomment-270520418>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AE9TA_Sxaqzo_FA7R0kxFD6eB5zoiHyeks5rPC68gaJpZM4LQAVm>.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/443#issuecomment-270526834

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

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