Notes on grid stuff
Examples of LFN to PFN mappings:
LFN is the logical file name (of an official CMS production file) starting with
/store/...
in the following table.
Site |
lcg-ls command |
tested on |
T2_ES_CIEMAT |
lcg-ls -b -D srmv2 "srm://srm.ciemat.es:8443/srm/managerv2?SFN=/pnfs/ciemat.es/data/cms/prod/$LFN" |
2010-08-24 |
T1_US_FNAL |
lcg-ls -b -D srmv2 "srm://cmssrm.fnal.gov:8443/srm/managerv2?SFN=/11/$LFN" |
2011-02-04, 2012-02-13 |
T2_BE_UCL |
lcg-ls -b -D srmv2 "srm://ingrid-se02.cism.ucl.ac.be:8444/srm/managerv2?SFN=/storage/data/cms/$LFN" |
2012-02-27 |
T2_US_Florida |
lcg-ls -b -D srmv2 "srm://srm.ihepa.ufl.edu:8443/srm/v2/server?SFN=/cms/data$LFN" |
2014-01-08 |
T1_DE_KIT |
lcg-ls -b -D srmv2 "srm://cmssrm-kit.gridka.de:8443/srm/managerv2?SFN=/pnfs/gridka.de/cms/disk-only/$LFN" |
2014-11-17 (dataset marked as disk only for this site in DAS) |
2010-08-24
- listing files in CERN CASTOR from UAF:
lcg-ls -b -D srmv2 "srm://srm-cms.cern.ch:8443//srm/managerv2?SFN=/castor/cern.ch/user/a/aholz/2010-ecal-spikes-simu-4/"
- copying from CERN castor to uaf:
lcg-cp --verbose -b -D srmv2 "srm://srm-cms.cern.ch:8443//srm/managerv2?SFN=/castor/cern.ch/user/a/aholz/2010-ecal-spikes-simu-4/simevent_99.root" file:/tmp/simevent_99.root
see also
http://www.uscms.org/uscms_at_work/physics/lpc/support/lpc_computing/LPC_FAQs.shtml for some examples
- Chris Palmer suggested the use of
srmcp
.
- how to get the PFN for an LFN at a given site ?
- go to http://cvs.web.cern.ch/cvs/cgi-bin/viewcvs.cgi/COMP/SITECONF/ and get the
storage.xml
file for the site you're interested in. E.g. for CIEMAT, this is T2_ES_CIEMAT/PhEDEx/storage.xml
(note that there is another directory containing CIEMAT which is empty).
- this file contains a mapping of regexps to physical file names. Not clear to me whether the first matching or any of the matching can be taken. I have somehow the impression that one after another is applied to produce transformations...
Misc.
How can I translate a logical filename (LFN) to a physical one (PFN) ?
See the
wget
command example at
this link in the section 'How can the data be accessed? What is the local path?'
--
AndreHolzner - 16-Apr-2010