SQUID users can move data between your local environment and the storage on SQUID through the web I/F through the use of Nextcloud. The data stored via Nextcloud is on

/sqfs/home/[UserID]/OnionWeb/ and so you can access it on the frontend and compute nodes of SQUID.
example: If userID is "user001", your data stored on /sqfs/home/user001/OnionWeb/

 

How to link the work area

In the initial state, only the area under the Onionweb directory is visible. By creating a symbolic link to the work area, etc. in the Onionweb directory using the following procedure, you can find the area on ONION-file via the link file.

cd ~/Onionweb
ln -s /sqfs2/cmc/[0 or 1]/work/[Group name]/[UserID]/ work
example: If userID is "user001",group name is "G00001": /sqfs2/cmc/0/work/G00001/user001/

†The value of [0 or 1] depends on the group.

Note) Currently, it takes approximately 30 minutes to reflect the file/directory creation on SQUID to Next Cloud. We are working hard on the investigation for shortening the time. The file/directory transfer to SQUID through NextCloud is refrected without time gap.
We are sorry in advance for this.

 

How to use

    login procedure
    file uploading procedure
    file downloading procedure
    file name changing/file moving/file deleting procedure
    sharing file and folder(URL sharing)
    Use of External storage
    how to use with Nextcloud applcation

     

    Login procedure

      You can access our gateway by hitting this page on your web browser. The access to the gateway is limited from Japan.
      SQUID - Next Cloud
       
      Press the login after typing in your user ID and password on SQUID after the login screen is displayed.

       
      After successful password authentication, the following 2-step authentication selection screen will appear, please click "TOTP Authenticator App".

       
      After that, a QR code will be displayed. Please read the QR code with a 2-step verification application such as Microsoft Authenticator, Google Authenticator, etc., and register with the application. Please note that this is a different code from the SQUID 2-step verification.

       
      After successcully logging in, your can see your home area on SQUID (/sqfs/home/(userID)/OnionWeb/).

     

    File uploading procedure

      Basicaly, there are two ways to upload file onto "your home area on SQUID"。  

      Drag and Drop
      Referential upload

       

      Drag and Drop

        Drag and drop the file you want to upload after moving the directory. Then, click "SQUIDユーザホーム領域".

         
        Drag and droup the file you wanna upload.

         
        The progress bar is displayed. Please wait for the completion sipping a coffee.

         
        Upload completed if you can see your file on the browser.

       

      Referential upload

        Move the directory where you want to upload your file from "SQUIDユーザホーム領域"?

         
        Select the "upload file" menu after clicking "+" in the upper part of the browser. You can choose your file from the file referential dialog.

         
        The progress bar is displayed Please wait for the completion sipping a coffee.

         
        upload completed if you can see your file on the browser.

       

      Way to download

        Basically, there are the following two ways for the downloading of your file on your home area on SQUID .
        Download of a single file
        Download of multiple file

         

        Download of a single file

          Now suppose that we want to download "test.txt" from the home area on SQUID. You can download the file after clicking "..." and "download". Where the file is downloaded depends on the configuration of your browser.

         

        Download of multiple file

          Now suppose that we want to download "test.txt" and "test2.txt" at the same moment from the home area on SQUID. Check all of checkboxes next to files you want to download. Then, please select "download" from the menu displayed after clicking "... action" in the upper side of file list.

           

         

      Filename change, move/delete

        Select "change of file name", "move or copy", or "delete file" after clicking "..."

         
        Turn on checkboxes next to files you want to delete. Please click "delete" after clicking"...action"

         

       

      Folder/file sharing

        You can share the folder and files with others even if they do not have any account on SQUID by issuing the URL for sharing.
        Click the shared mark() on the right side of the file you want to share. After that, please click "+" on the right side of "sharing with URL".

         
        After the window like shown below is displayed.
        Configure a password or use the default password suggested by the system. In the case that you yourself configure the password, your password should be longer than 12 characters.


         
        The right icon on the right side of "Sharing with URL" changed as shown below. Click "...".
        Change the configuration as you like after the following menu is displayed. After your configuration is done, you may close the menu.

        Sharing label Label which sharing ownder administers.
        Permit edit This is set invalid.
        Hide download This is set invalid.
        Password Protection(forced) you cannot make this invalid. You can change password as you like. After changing, please click "->"
        Validity configuration You can set the valid period of your sharing URL.
        Note for user You can add message.

         
        Nextcloud remembers the sharing URl when you click the clip board icon on the right side of "sharing with URL". Send the password and the NextCloud remembered URL to your collaborator.

         

        If you end "file sharing", please click "Unshare" after clicking "..." rite side of "share link".

       

      Use of external storage

        SFTP and other external storage compatible with S3 API can be used from Next Cloud. The example shown below is the use of OCTOPUS file system (SFTP) and ONION-object (Amazon S3) as the external storage. Check "configuraiton" from the menu displayed afterclicking the user icon on the upper right.

         
        Click "external storgage"

         
        Type in the information on externatl storage. Check " ✓" after completing.

         

        OCTOPUS file system (SFTP)

          folder name you can specify as you like
          External Storage you can choose Amazon S3 or SFTP. If you add OCTOPUS as external storage, please choose "SFTP".
          Authentication If you add OCTOPUS as external storage, please choose "Username and password".
          Host Please specify FQDN etc, for external storage. If you add OCTOPUS as external storage, please specify "octopus.hpc.cmc.osaka-u.ac.jp".
          Root Please specify Path for external storage. If you add OCTOPUS home area as external storage, please specify "/octfs/home/[username]".
          Username Please specify Username for external storage.
          Password Please specify Password for external storage.

         

        ONION-object(Amazon S3)

          Please see here for information on how to create the OINION-object bucket, access key, and secret key required below.

          folder name you can specify as you like
          External Storage Please choose "Amazon S3".
          Bucket Enter the name of the bucket to be mounted.
          Host name Enter the S3 endpoint as the external storage access point; for ONION-object, enter "s3-osakau.oniongw.hpc.cmc.osaka-u.ac.jp".
          Port If the port is specified by the storage to be mounted, enter the port number; for ONION-object, leave blank.
          Region If the region is specified by the storage to be mounted, enter the region; for ONION-object, leave blank.
          Enable SSL Check the box if you use SSL; for ONION-object, check the box.
          Enable Path Style Check the box if you want to access in path style; for ONION-object, DO NOT check the box.
          Legacy (v2) authentication Check the box if authenticate with legacy authentication; for ONION-object, DO NOT check the box.
          Access key Enter the access key for the area to be mounted.
          Secret key Enter the secret key for the area to be mounted.

         

        Please check external storage on your Nextcloud.

         

      Use from the application

        Nextcloud provides the desk-top client application. You can use the application. You need to restart your system when you install the application. Please be careful of not deleting your file. The detail is available here.

     

    Reference