Difference between revisions of "EOS"

From DUNE
Jump to navigation Jump to search
Line 7: Line 7:
  
 
* [https://eos.readthedocs.io/en/latest/quickstart/client/configure.html An exceptionally useful page]
 
* [https://eos.readthedocs.io/en/latest/quickstart/client/configure.html An exceptionally useful page]
 +
 +
= Mounting /eos at CERN =
 +
<pre>
 +
export EOS_MGM_URL="root://eos.cern.ch"
 +
sudo yum install eos-client # if not already installed
 +
export EOS_FUSE_MOUNTDIR=/eos/
 +
sudo systemctl  start eosd
 +
</pre>
 +
  
 
= URI of protoDUNE eos endpoint=
 
= URI of protoDUNE eos endpoint=

Revision as of 21:03, 10 October 2017

EOS and XRootD Links

Mounting /eos at CERN

export EOS_MGM_URL="root://eos.cern.ch"
sudo yum install eos-client # if not already installed
export EOS_FUSE_MOUNTDIR=/eos/
sudo systemctl  start eosd


URI of protoDUNE eos endpoint

An example actual as of June 2017:

root://eospublic.cern.ch//eos/experiment/neutplatform/protodune/np04tier0/p3s/testInput

An example how a custom installation of xrootd is used to copy:

/opt/xrootd/bin/xrdcp root://eospublic.cern.ch//eos/experiment/neutplatform/protodune/np04tier0/p3s/testOutput/83/lxdqm_crt_tpc_1.root f1.root


An older ATLAS example:

xrdcp root://eosatlas//eos/atlas/atlasdatadisk/rucio/data15_13TeV/ab/01/NTUP_TRIGRATE.05805712._003841.pool.root.1 .

EOS CLI ("eos")

  • Setting up EOS CLI at CERN: source /afs/cern.ch/project/eos/installation/[atlas|cms|lhcb|alice]/etc/setup.sh
bash-4.1$ more /afs/cern.ch/project/eos/installation/atlas/etc/setup.sh
# source me
alias eos="/afs/cern.ch/project/eos/installation/0.3.84-aquamarine/bin/eos.select"
alias eosumount="/afs/cern.ch/project/eos/installation/0.3.84-aquamarine/bin/eos.select -b fuse umount"
alias eosmount="/afs/cern.ch/project/eos/installation/0.3.84-aquamarine/bin/eos.select -b fuse mount"
alias eosforceumount="killall eosfsd 2>/dev/null; killall -9 eosfsd 2>/dev/null; fusermount -u "
  • Now you can use EOS CLI commands, e.g.: ls /eos/atlas/atlasdatadisk/rucio/data15_13TeV/ab/f4
  • FullEOS CLI list of commands:
access               Access Interface
archive              Archive Interface
attr                 Attribute Interface
backup               Backup Interface
clear                Clear the terminal
cd                   Change directory
chmod                Mode Interface
chown                Chown Interface
config               Configuration System
console              Run Error Console
cp                   Cp command
debug                Set debug level
dropbox              Drop box
exit                 Exit from EOS console
file                 File Handling
fileinfo             File Information
find                 Find files/directories
fs                   File System configuration
fsck                 File System Consistency Checking
fuse                 Fuse Mounting
group                Group configuration
help                 Display this text
io                   IO Interface
json                 Toggle JSON output flag for stdout
license              Display Software License
ls                   List a directory
map                  Path mapping interface
mkdir                Create a directory
motd                 Message of the day
node                 Node configuration
ns                   Namespace Interface
pwd                  Print working directory
quit                 Exit from EOS console
quota                Quota System configuration
reconnect            Forces a re-authentication of the shell
recycle              Recycle Bin Functionality
rmdir                Remove a directory
rm                   Remove a file
role                 Set the client role
rtlog                Get realtime log output from mgm & fst servers
silent               Toggle silent flag for stdout
space                Space configuration
stat                 Run 'stat' on a file or directory
test                 Run performance test
timing               Toggle timing flag for execution time measurement
transfer             Transfer Interface
version              Verbose client/server version
vid                  Virtual ID System Configuration
vst                  Virtual Storage Interface
whoami               Determine how we are mapped on server side
who                  Statistics about connected users
?                    Synonym for `help'
.q                   Exit from EOS console