Mounting HPC3 home folder to HPC4 using SSHFS tool
SSHFS allows you to mount a remote filesystem using SFTP. If user owns an HPC3 account, they can use this tool to access HPC3 directories in HPC4.
Using SSHFS to connect to HPC3
In HPC4 login node, create a new folder as a mount point under a directory that you have access to:
$ mkdir <hpc4 directory>
Perform sshfs with your credentials to mount the HPC3 remote folder to the local mount point.
Example:
$ sshfs username@hpc3.ust.hk:<hpc3 directory> <hpc4 directory>
Remark: User credential is required to provide to mount the remote folder.
As a result, <hpc4 directory> is mounted to the remote folder and you can copy in/out files in this folder as usual.
Unmount the SSHFS remote folder
If the remote folder is longer needed, make sure the current working directory is not under the mount point and you can unmount the remote folder
$ umount <hpc4 directory>
As a result, the remote folder is unmounted