This is an old revision of the document!
This is a quick tutorial for EOS.
EOS is an open-source storage software solution to manage multi PB storage for the CERN Large Hadron Collidor LHC. Core of the implementation is the XRootD framework providing a feature-rich remote access protocol.
export EOS_MGM_URL=root://eos<experiment>.cern.chexport EOS_MGM_URL=root://eosuser.cern.chkinit <cern_username>@CERN.CHeos mkdir /eos/lhcb/user/b/bla/blablaeos ls /eos/lhcb/user/b/bla/blablaeos root://eoslhcb.cern.ch ls -l /eos/lhcb/user/b/bla/blablaeos help.On our cluster some of the EOS instances are mounted with fuse, so they look like normal file systems to you and you can use standard linux commands. The mounted file systems are:
/eos/cms//eos/lhcb//eos/user/
To access these file systems, you need to have a CERN Kerberos ticket as for the EOS commands, but in addition you need to pass the ticket to the fuse system with the command eosfusebind, similar to the aklog command for AFS. You need therefore to execute the following commands:
kinit <cern_username>@CERN.CH ; eosfusebind
EOS commands and Linux commands in the EOS file system are not very resource efficient. If you need to transfer large amount of data, use the xrdcp command:
xrdcp root://eoslhcb.cern.ch//eos/lhcb/user/b/bla/eos_tutorial/eos.txt eos.txtxrdcp eos.txt root://eoslhcb.cern.ch//eos/lhcb/user/b/bla/eos_tutorial/eos.txteos.txt