User Tools

Site Tools


cluster:eos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
cluster:eos [2019/02/13 10:44] – created bernetcluster:eos [2019/02/13 15:30] bernet
Line 2: Line 2:
  
 This is a quick tutorial for EOS. This is a quick tutorial for EOS.
 +
 +\\
  
 ==== EOS ==== ==== EOS ====
Line 12: Line 14:
  
   * EOS Kerberos Ticket \\ To access the storage, you need a CERN Kerberos ticket. Create such a ticket with the following command:\\ ''kinit <cern_username>@CERN.CH''   * EOS Kerberos Ticket \\ To access the storage, you need a CERN Kerberos ticket. Create such a ticket with the following command:\\ ''kinit <cern_username>@CERN.CH''
- 
  
   * EOS commands are often very similar to Unix (for example ls --> eos ls).\\ e.g.   * EOS commands are often very similar to Unix (for example ls --> eos ls).\\ e.g.
     * ''<nowiki>eos mkdir /eos/lhcb/user/b/bla/blabla</nowiki>''     * ''<nowiki>eos mkdir /eos/lhcb/user/b/bla/blabla</nowiki>''
     * ''<nowiki>eos ls /eos/lhcb/user/b/bla/blabla</nowiki>''     * ''<nowiki>eos ls /eos/lhcb/user/b/bla/blabla</nowiki>''
 +    
 +  * EOS commands including management server: \\ You don't need to define a default EOS instance, you can add it to the eos command:\\ ''<nowiki>eos root://eoslhcb.cern.ch ls -l /eos/lhcb/user/b/bla/blabla</nowiki>''
 +
 +  * EOS command list: \\ A list of all EOS commands is given with ''eos help''.
  
-  * EOS commands including management server: 
-    * You don't need to define a default EOS instance, you can add it to the eos command:\\ e.g. 
-      ''<nowiki>eos root://eoslhcb.cern.ch ls -l /eos/lhcb/user/b/bla/blabla</nowiki>'' 
-       
 ==== EOS Fuse Mount ==== ==== EOS Fuse Mount ====
 +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:
 +  * eoscms --> ''/eos/cms/''
 +  * eoslhcb --> ''/eos/lhcb/''
 +  * eosuser --> ''/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''
 +
 +==== XRootD Copy Command ====
 +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:
 +  * ''<nowiki>xrdcp root://eoslhcb.cern.ch//eos/lhcb/user/b/bla/eos_tutorial/eos.txt eos.txt</nowiki>''
 +  * ''<nowiki>xrdcp eos.txt root://eoslhcb.cern.ch//eos/lhcb/user/b/bla/eos_tutorial/eos.txteos.txt</nowiki>''
  
cluster/eos.txt · Last modified: 2022/01/20 10:40 by bernet