CLICdp EOS Storage

Prerequisites

Join the zf computing group. Members of the zf computing group are automatically added to the clicdp-eos-users group.

Not being in the zf computing group will introduce file-access complications. Therefore, unless you have a very good reason (please let us know at clicdp-eos-admins) not to join the zf computing group you will not be added to the clicdp-eos-users egroup.

Login to https://cernbox.cern.ch Once to get the /eos/user space created

Mounting EOS on your fixed PC installation

Run this script https://gitlab.cern.ch/CLICdp/SoftwareConfigurations/Administration/-/blob/softwareScripts/installEOS.sh

This will create a mount point in the rootdirectory called /eos and you can access files just like all others. See https://cern.service-now.com/service-portal/article.do?n=KB0003846&s=eos%20mount%20linux for details

Update: Aug 4, 2016: The script will now setup two mounts /eos/experiment/clicdp and /eos/user. You have your own eos folder in /eos/user/INITIAL/USERNAME

If there is some problem try this:

eosfusebind

or

fusermount -uz /eos

fusermount -uz /eos/experiment/clicdp

fusermount -uz /eos/user

or

sudo service eosd restart

Scripts

The installation script is also located on gitlab: https://gitlab.cern.ch/CLICdp/SoftwareConfigurations/Administration/tree/softwareScripts

Optional configuration for fuse mount

Optionally add to file /etc/pam.d/sshd the line session optional pam_exec.so debug seteuid /usr/bin/eosfusebind --pam to automate the call to eosfusebind on logon(?). Or maybe add eosfusebind to your .bashrc or .profile or other login/startup scripts if it needs to be called often.

Environment variable (sh-type shells) and eos command interface

To install the eos command line interface

sudo yum install eos-client

Export the eos server.

# for Projects like /eos/experiment/clicdp
export EOS_MGM_URL="root://eospublic.cern.ch"
# for user /eos/user/u/username
export EOS_MGM_URL="root://eosuser.cern.ch"

Eos afs clients no longer exist. https://cern.service-now.com/service-portal/view-outage.do?from=CSP-Service-Status-Board&n=OTG0037759

Mounting eos in some other place via eos fuse mount on your machine or lxplus

After setting up your environment, create a folder on AFS where to mount EOS :

mkdir -p $HOME/eos

Then mount EOS in this folder :

eosmount $HOME/eos

Don't forget to unmount when logging out from lxplus :

eosumount $HOME/eos

Note: If you get some error message check the permissions on /bin/fusermount

Packages

You maybe need to install the packages (or newer versions))
sudo yum install compat-readline5 xrootd-client-devel openssl098e

Copying Files

xrdcp localfile root://eospublic.cern.ch//eos/clicdp/whateveryouwant

Edit | Attach | Watch | Print version | History: r19 < r18 < r17 < r16 < r15 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r19 - 2020-11-16 - AndreSailer
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback