Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.18 KB

EOS Diamond XRootD OFS plugin

This project contains a plugin for the XRootD server which provides the EOS Diamond storage functionality.

It is published under the GPLv3 license: http://www.gnu.org/licenses/gpl-3.0.html

Configuration

Add the plug-in configuration to the XRootD configuration file:

   xrootd.fslib /path/to/libdiamond_ofs.so

Enable adler32 checksumming in the XRootD configuration file:

   xrootd.chksum adler32

To enable thirdparty copy (TPC) add this line to the XRootD configuration file:

   ofs.tpc pgm /usr/bin/xrdcp

CGI Support

The plug-in supports the following CGI tags "?diamond.=&diamond.=

   diamond.stripe=<size>
   <size> can be a plain number (bytes) or e.g. 1k,2K,3M,4m,1G,2g etc ...
   
   Example: "root://localhost//myfile?diamond.stripe=64M"

If the diamond.stripe is unspecified the internal default stripe size will be used.

For third party transfers the transfer block size can be specified to reduce latency:

   diamond.tpc.blocksize=<size>
   <size> can be a plain number (bytes) or e.g. 1k,2K,3M,4m,1G,2g etc ...