File migration

May 2, 2025 in Guide, Example by Jens Rutten1 minute

File migration

Migrating files between the MOGON II and MOGON NHR/KI project directories.

Updated procedure

The section below refers to a time before the crossmount between MOGON II Lustre and MOGON NHR/KI Lustre existed. The MOGON NHR Lustre is now available on MOGON II under the path /l1fs, which makes copying much simpler and reduces the process to using basic copy commands.

Prerequisites

- have an SSH key that has been uploaded to account.uni-mainz.de in your MOGON home directory

Migration steps

1. Login to a MOGON II login node. 2. Start an ssh-agent: eval $(ssh-agent -s). 3. Add your SSH key to the recently started ssh agent: ssh-add /path/to/your/key. 4. On the login node use scp or rsync 1 to copy your files, e.g.: ~~ - scp /path/to/testfile mogon-nhr-01:/lustre/project/your/destination/folder/.~~