Writing to EOS¶
The Purdue EOS storage is mounted read-only at /eos/purdue/. To write files
to EOS (for example, to your Grid directory /store/user/<cern-username>/), use
the gfal or xrdcp/xrdfs commands. Where to stage outputs before copying
them is in Storage volumes.
Both tools need a valid VOMS proxy, are available in every terminal, and are documented at the Purdue Tier-2 CMS site.
Using xrdcp and xrdfs¶
For example:
# copy a local file to your Grid directory on Purdue EOS
xrdcp /tmp/$USER/output.root root://eos.cms.rcac.purdue.edu//store/user/<cern-username>/output.root
# list the contents of a directory
xrdfs root://eos.cms.rcac.purdue.edu ls /store/user/<cern-username>/
Using gfal¶
For example:
gfal-copy /tmp/$USER/output.root root://eos.cms.rcac.purdue.edu//store/user/<cern-username>/output.root
See also
- Data access — copying files from other CMS sites
- Storage volumes — where CRAB and Rucio outputs end up