Also forget to say, gridftp will not calculate adler32 unless a client request it (such as FTS). regards, Wei Yang | [log in to unmask] | 650-926-3338(O) On Dec 26, 2012, at 3:05 PM, Yang, Wei wrote: > Merry Christmas Doug, are you evading family responsibility? > > You early comment about having alder32 calculated automatically is something that can be done but I am not aware of a configuration directive to tell xrootd to do this right now. Let me summarize what xrdadler32 and GridFTP DSI do: > > 1. "xrdalder32 local_file" calculates the checksums, save the result to user.XrdCks.adler32 in the right format --- if extended attributes is enabled on the file system. > > 2. "xrdlader32 root://host//file" will query or calculate the file's alder32. > 2.1 If the xrootd server is configured correctly, the xrootd server will calculate the checksum, save it to user.XrdCks.adler32, and send the adler32 to client (xrdadler32). > 2.2 If xrootd server is not configured correctly, xrdadler32 will read the whole file and calculate the checksum > > 3. GridFTP DSI by default read the whole file from xrootd server and calculate checksum (similar to 2.2 above). Alternatively, you can define > > export XROOTD_VMP="..." > export LD_PRELOAD=/usr/lib64/libXrdPosixPreload.so > export GRIDFTP_CKSUM_EXT_ADLER32="unset LD_PRELOAD; /usr/bin/xrdadler32" > > in the gridftp start up script (see the "server" line of /etc/xinetd.d/gsiftp). In that case, the GridFTP DSI will try to get adler32 via the method in 2.1 above. > > regards, > Wei Yang | [log in to unmask] | 650-926-3338(O) > > > > > On Dec 26, 2012, at 2:36 PM, Doug Benjamin wrote: > >> Dear all, >> >> What is the encoding of the adler32 checksum in the extended attributues. >> >> The getfattr command gives an interesting value when I dump it. >> >> Thanks, >> >> Doug B >> >> ######################################################################## >> 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 > ######################################################################## 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