How to install CVMFS on WNs

1. Install SQUID caching proxy on any server in your LAN.

Configure SQUID in /etc/squid/squid.conf with:

# squid listen ports
http_port 3128
# set up file system (use aufs or ufs) and directory for caching files, 50000 is disk space in MB which can be used for caching files. 
cache_dir aufs /var/spool/squid 50000 16 256
# maximum object size
maximum_object_size 4096 MB
# memory cache
cache_mem 4096 MB
# Add your local network to your ACLs and other rights depend on your security level. At least to give access for cvmfs clients.
acl local_net src network_addr/mask_addr
http_access allow local_net

2. Install and configure CVMFS packages on WNs

wget -O /etc/yum.repos.d/cernvm.repo
yum install -y cvmfs-keys cvmfs cvmfs-init-scripts

Create directory on local disk where CVMFS client will store data.

mkdir /scr/cvmfs

Edit /etc/cvmfs/default.local. Define some variables:

CVMFS_REPOSITORIES - repositories to include, like or


CVMFS_CACHE_BASE - path to data dir

CVMFS_QUOTA_LIMIT - maximum size in MB for cached data. (see

Bellow is config file we use at ISMA for Belle.

3. Start CVMFS

Add line to /etc/fstab           /cvmfs/    cvmfs   ro

Start service

service cvmfs start

Mount FS

mkdir -p /cvmfs/
mount -a -t cvmfs

Try ls -l /cvmfs/ - it should work.

tech/cvmfs.txt · В останнє змінено: 2013/03/20 21:53 Roman Zubatyuk Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0