Provision CVMFS and mount BNL/STAR repo

These instructions are provided for you to install the CVMFS client and mount the STAR CVMFS repo – The STAR software has been installed here and may be used as a replacement for AFS.


1. Get CVMFS yum repository    

# wget -O /etc/yum.repos.d/cernvm.repo


# wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM

3. Install cvmfs (At this time the version we are installing is cvmfs-2.5.1-1.el7.x86_64)

# yum install cvmfs cvmfs-config-default

4. Run the command below to automate the creation of the cvmfs user and create an entry in autofs

# cvmfs_config setup

Note: At this time with these instructions (config files provided) and/or other undetermined factors, CVMFS pointing to the repo via autofs is not stable. Further instructions have been provided (i.e hard mount)

5. Add the file /etc/cvmfs/default.local

# wget -O /etc/cvmfs/default.local

6. Add the file /etc/cvmfs/config.d/

# wget -O /etc/cvmfs/config.d/

7. Add the file /etc/cvmfs/domain.d/

# wget -O /etc/cvmfs/domain.d/ 

8. PUBLIC KEY NAME: - Create the sub directory for the public key & place the key in this directory

# mkdir /etc/cvmfs/keys/

Note: Currently we are not making the ‘public key’ publicly available to all users. The key will be provided by request only. For scalability of this new infrastructure reasons, we have a need to trace the CVMFS connections, make recommendation on how to expand larger resources wherever we see problems etc ... Contact: Jerome Lauret ( or Michael Poat ( for further information.

9. You may need to restart autofs after adding the keys in

# systemctl restart autofs.service

10. Check to see if you can access CVMFS

# ls /cvmfs/