-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEOS
More file actions
39 lines (20 loc) · 1.23 KB
/
EOS
File metadata and controls
39 lines (20 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
How to use EOS:
source /afs/cern.ch/project/eos/installation/cms/etc/setup.sh
To gate a list:
eos ls /eos/cms/store/user/abdollah/
First of all create a subdirectory on EOS:
eos mkdir /eos/cms/store/user/abdollah/eos_tutorial
copy the local file to your EOS directory:
xrdcp skimMuTrg_111_1_xGC.root xroot://eoscms.cern.ch//eos/cms/store/user/abdollah/eos_tutorial/skimMuTrg_111_1_xGC.root
Now, copy it back in your directory (download) from EOS:
xrdcp xroot://eoscms.cern.ch//eos/cms/store/user/abdollah/eos_tutorial/skimMuTrg_111_1_xGC.root skimMuTrg_111_1_xGC.root
xrdcp xroot://cms-xrd-global.cern.ch//eos/cms/store/group/phys_smp/ggNtuples/13TeV/data/job_SingleMu_Run2015D_PR_25ns.root SingleMu_Run2015D_PR_25ns.root
delete afile from eos:
eos rm (-r) /eos/cms/store/user/abdollah/Ntuple
Please note that:
xroot is the data transfer protocol
eos<experiment>.cern.ch is the host of the EOS (xroot) server
/eos/<experiment>/user/l/laman/eos_tutorial/eos.txt is the EOS full path
EOS has a quota and you can check it with the command "eos quota". Please note that you have a limit on size and on number of files.
More Info at:
http://eos.cern.ch/index.php?option=com_content&view=article&id=87:using-eos-at-cern&catid=31:general&Itemid=41