Provision CVMFS and mount BNL/STAR repo - Mac OSX

Mac OSX CVMFS Intructions

These instructions are provided for you to install FUSE for Mac OSX, the CVMFS client, and mount the STAR CVMFS repo – star.sdcc.bnl.gov The STAR software has been installed here and may be used as a replacement for AFS. CVMFS is a Read-Only Filesystem.

 

1. Install FUSE for Mac OSX   

- Click the following link to get the 'FUSE for macOS 3.10.4' package: https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.10.4/osxfuse-3.10.4.dmg
- Follow the standard installation process.

2. Download & Install CVMFS for MAC

- Note: you must have Mac OSX 10.13 or greater installed for this to work.
- Click the following link to get the 'cvmfs-2.7.1.pkg' package for MacOS >=10.13: https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.7.1/cvmfs-2.7.1.pkg
- Follow the standard installation process. Note: When installing you may need to modify your security preferences to allow installation of Apps from unidentified developers.

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

# sudo curl -o /etc/cvmfs/default.local https://www.star.bnl.gov/~mpoat/cvmfs/default.local

4. Add the file /etc/cvmfs/domain.d/sdcc.bnl.gov.local

# sudo curl -o /etc/cvmfs/domain.d/sdcc.bnl.gov.local https://www.star.bnl.gov/~mpoat/cvmfs/sdcc.bnl.gov.local

5. Add the file /etc/cvmfs/config.d/star.sdcc.bnl.gov.local

# sudo curl -o /etc/cvmfs/config.d/star.sdcc.bnl.gov.local https://www.star.bnl.gov/~mpoat/cvmfs/star.sdcc.bnl.gov.local

6. PUBLIC KEY NAME: star.sdcc.bnl.gov.pub - Create the sub directory for the public key & place the key in this directory

# mkdir /etc/cvmfs/keys/sdcc.bnl.gov

Note: Currently we are not making the ‘public key’ publicly available to all users. The key will be provided by request only. A reminder that as part of being granted access to the BNL resources, you have agreed to comply with a Computer Use Agreement (especially, please do NOT redistribute those keys and do not provide them as public distribution). Contact: Jerome Lauret (jlauret@bnl.gov) or Michael Poat (mpoat@bnl.gov).


Once the Public key has been added, continue to the next steps...

7. Mount CVMFS

# sudo mount -t cvmfs star.sdcc.bnl.gov /cvmfs/star.sdcc.bnl.gov

8. Check to see if you can access CVMFS

# ls /cvmfs/star.sdcc.bnl.gov