Mount $ARCHIVE with SSHFS

This page explains how to mount $ARCHIVE on the HPC with SSHFS on your local workstation. Only $ARCHIVE is supported, not $HOME , $SCRATCH or any other file system on the HPC. For mounting $ARCHIVE on Windows, Kindly follow the section here

Step-by-step guide

Note

You might need sudo for the operations below.

  1. Install SSHFS on your workstation.
    • Ubuntu:

    apt-get install sshfs
    
    • CentOS:

    yum install fuse-sshfs
    
    • MacOS:

    Install FUSE and SSHFS from their official website https://osxfuse.github.io/
    
  2. On your terminal, mount the drive
    sshfs <NetID>@hpc-cng.abudhabi.nyu.edu:/archive/<NetID> <Your-Local-Mount-Point>
    

    For example, this command mount the $ARCHIVE of NetID wz22 to the local path $HOME/work-wz22

    sshfs wz22@hpc-cng.abudhabi.nyu.edu:/archive/wz22 $HOME/work-wz22
    

    These options might increase the speed.

    sshfs -o auto_cache -o cache=yes -o kernel_cache -o compression=no -o large_read -o big_writes -o Ciphers=arcfour <NetID>@hpc-cng.abudhabi.nyu.edu:/archive/<NetID> <Your-Local-Mount-Point>
    
  3. Once done, unmount the drive.
    umount <Your-Local-Mount-Point>
    

Mount $ARCHIVE on Windows

  1. Download the following applications and install them on your local Windows PC.
  2. Navigate to your Windows File explorer

  3. Right click on This PC and select Map network drive:
    ../../_images/mount_work1.png
  4. Enter the details and click Finish:
    ../../_images/mount_work2.png
    • The Drive corresponds to the local mountpoint

    • The Folder corresponds to the remote location.It should be noted that by default it connects to the /home and a relative path to the mounting point (/work) should be specified. So in this case the syntax should be as follows:

    \\sshfs\<net-id>@hpc-cng.abudhabi.nyu.edu\..\..\archive\<netid>
    
    • For example:

    \\sshfs\wz22@hpc-cng.abudhabi.nyu.edu\..\..\archive\wz22
    
  5. You will be prompted for a password, after which you would have successfully mounted $ARCHIVE on to your local workstation.
    ../../_images/mount_work3.png