Overview
Questions
Objectives
Rclone is a free utility for syncing directories between object storage systems (such as Amazon S3, Dropbox, Google Drive etc) and file based storage (e.g. home or scratch))
https://rclone.org
Rclone is installed on the Mana Data Transfer Nodes and can be used in the command line via
$ rclone
Before you can use Rclone, you must configure it This configuration step will set up access for the remote object storage system that you want to transfer data to and from In this tutorial we will configure Google Drive since UH has Google for Education and everyone at UH has it
1.) Start a shell session on MANA through your own terminal or you can use Open OnDemand via https://mana.its.hawaii.edu
Clusters -> >_Mana_Shell_Access
From your terminal/shell ssh to one of the Mana DTNs
$ ssh username@hpc-dtn1.its.hawaii.edu
*You may be prompted for your password depending on where you are SSHing from and you WILL be prompted for DUO two-factor verification.
Example
$ ssh luketn@hpc-dtn1.its.hawaii.edu
Two Factor Authentication for Duo Push
$ 1
Two Factor Authentication for Phone Call
$ 2
Two Factor Authentication for SMS
$ 3
$ rclone config
$ n
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
Choose a name for the remote object storage system
You’ll be prompted for the name of the remote object storage system\, we use “rclone-gdrive” in this tutorial
$ rclone\-gdrive
$ 15
*Setting your own is recommended, see https://rclone.org/drive/#making-your-own-client-id for how to create your own.
Client Secret
OAuth Client Secret
Scope
1 Full access all files, excluding Application Data Folder. “drive”
$ 1
Leave ID of the root folder blank normally
$ n
You should receive a verifiable link after configuration is complete
$ y
-Do not configure as a team drive
$ n
$ q
Key Points