From c9de90ffe7a137f5c0b6da432eff63982d1754be Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 24 Sep 2020 10:07:54 +0200 Subject: [PATCH] prefer using Singularity's support for scratch directories over bind mounting for /var/lib/cvmfs and /var/run/cvmfs --- docs/pilot.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pilot.md b/docs/pilot.md index 11e93d684..1dc18628e 100644 --- a/docs/pilot.md +++ b/docs/pilot.md @@ -34,10 +34,10 @@ The container image can be used directly by Singularity (no prior download requi ``` These provides space for the CernVM-FS cache, and an empty home directory to use in the container. -* Set the `$SINGULARITY_BIND` and `$SINGULARITY_HOME` environment variables to configure Singularity: +* Set the `$SINGULARITY_HOME` and `SINGULARITY_SCRATCH` environment variables to configure Singularity: ```shell - export SINGULARITY_BIND="/tmp/$USER/var-run-cvmfs:/var/run/cvmfs,/tmp/$USER/var-lib-cvmfs:/var/lib/cvmfs" export SINGULARITY_HOME="/tmp/$USER/home:/home/$USER" + export SINGULARITY_SCRATCH="/var/lib/cvmfs,/var/run/cvmfs" ``` * Start the container using `singularity shell`, using `--fusemount` to mount the EESSI config and pilot repositories