Skip to content

Commit 8c8ce18

Browse files
committed
correct paragraph about /srv
1 parent 47e3824 commit 8c8ce18

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/filesystem_layer/stratum1.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,20 @@ Then install Ansible roles for EESSI:
7272
ansible-galaxy role install -r ./requirements.yml --force
7373
```
7474

75-
Make sure you have enough space in `/srv` on the Stratum 1, since the snapshot of the repositories
76-
will end up there by default. To alter the directory where the snapshots get stored you can add
77-
the following variable in `inventory/host_vars/<url-or-ip-to-your-stratum1>`:
75+
Make sure you have enough space in `/srv` on the Stratum 1, since the snapshots of the repositories
76+
will end up there by default. To alter the directory where the snapshots get stored you can manually
77+
create a symlink before running the playbook:
78+
```bash
79+
sudo ln -s /lots/of/space/cvmfs /srv/cvmfs
80+
```
81+
82+
Alternatively, you can instruct the Ansible role to create a file system (e.g. ext4) on a given storage device
83+
and mount it at `/srv` by adding the following variable
84+
in `inventory/host_vars/<url-or-ip-to-your-stratum1>`:
7885

7986
```bash
80-
cvmfs_srv_mount: /lots/of/space
87+
cvmfs_srv_device: /dev/somedevice
88+
cvmfs_srv_fstype: ext4
8189
```
8290

8391
Also make sure that you have added the hostname or IP address of your server to the

0 commit comments

Comments
 (0)