Changes

Jump to navigation Jump to search

CCU:New GPU Cluster

76 bytes removed, 4 years ago
m
Copy data from the old cluster into the new filesystem
== Copy data from the old cluster into the new filesystem ==
The shared file system can be mounted as an nfs volume on the node "Vecna" on the old cluster, so you can create a pod on Vecna which mounts both the new filesystem as well as your PVs from the old cluster. Please use the following pod configuration as a template and add additional mounts for the PVs you want to copy over:
<syntaxhighlight>
namespace: exc-cb
spec:
# choose vecna since it has the fastest connection, or another node if you have
# to copy local PVs
nodeSelector:
kubernetes.io/hostname: vecna
</syntaxhighlight>
Afterwards, run a shell in the container and copy your stuff over to /abyss/shared/users/<your-username>. Make sure to set Note that this is not a group ownership id of 10000 with rw permissions for the group (rwx for directories) so you have secure directory as everyone has full read/write access , so copy over to your own home directory on the new clusteras soon as possible. The following should do the trick:
<syntaxhighlight>
# cd /cephfs/abyss/shared/users/<your-username>
# cp -r <all-my-stuff> ./
# chgrp -R 10000 *
# chown -R 10000 * (replace with your real user ID if you already know it from logging into the new cluster, see below)
# chmod -R g+w *
</syntaxhighlight>

Navigation menu