Mounting HPC4 folder to HPC3 using SSHFS tool

SSHFS allows you to mount a remote filesystem using SFTP.  If user owns an HPC4 account, they can use this tool to access HPC4 directory in HPC3 environment

Using SSHFS to connect to HPC4

In HPC3 login node, create a new folder as a mount point under your home folder.

$ mkdir <hpc3 directory>

Make sure you have the accesss to the director. Perform sshfs with your credentials to mount the remote folder to the local mount point.

Example:

$ sshfs username@hpc4.ust.hk:<hpc4 directory> <hpc3 directory>

Remark: User credential is required to provide to mount the remote folder. 

As a result, the remote <hpc4 directory> is mounted on HPC3 <hpc3 directory>, and you can copy in/out files in this folder as usual.

You may test if the drive mounted sucessfully

$ cd <hpc3 directory>
$ ls -al

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

$ fusermount -u <hpc3 directory>

As a result, the remote folder is unmounted

 


Support

General Enquiries cchelp@ust.hk
Suggestions & Complaints cclisten@ust.hk
Serviceline +852-2358-6200