Shared Filesystems¶
All things related to afs
, eos
etc.
Setup AFS on WSL2¶
Follow this gist to set-up AFS with Kerberos on your WSL.
Mounting EOS and CERNBox via FUSE on an unmanged CentOS machine¶
The CERN Service Portal has a guide for that.
Mounting TN Resources on GPN and Other Machines¶
To be able to run the GUI or CBNG seamlessly from computers which are not in the technical network, it might be useful to mount /user
, /nfs
and /eos
via sshfs
using the following recipe:
- Create mountpoints and symbolic links (only once)
mkdir -p ~/mnt/user && ln -nfs ~/mnt/user /user
mkdir ~/mnt/nfs && ln -nfs ~/mnt/nfs /nfs
mkdir ~/mnt/eos && ln -nfs ~/mnt/eos /eos
- Mount network resources (repeat after timeouts and restarts)
sshfs username@cs-ccr-dev3.cern.ch:/user/ ~/mnt/user
sshfs username@cs-ccr-dev3.cern.ch:/nfs/ ~/mnt/nfs
sshfs username@lxplus.cern.ch:/eos/ ~/mnt/eos
- If outside of the GPN, jump through
lxplus
to mountdev3
-folders:
sshfs username@cs-ccr-dev3.cern.ch:/user/ ~/mnt/user -o ssh_command='ssh -t username@lxplus.cern.ch ssh'
sshfs username@cs-ccr-dev3.cern.ch:/nfs/ ~/mnt/nfs -o ssh_command='ssh -t username@lxplus.cern.ch ssh'
Info
To avoid getting asked for your password all the time, you should have your ssh
properly configured with Kerberos.
In case you need to unmount these
sudo fusermount -u ~/mnt/user
sudo fusermount -u ~/mnt/nfs
sudo fusermount -u ~/mnt/eos