Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The articles below assume you already have requested a Storage@Yale share and received a response back that your share is available. Requesting a Storage@Yale share can be done within Spinup by adding a resource to your space and selecting Storage@Yale as the resource type.

On Linux

Run the commands below:Install the CIFS client

  • On CentOS

    Code Block

...

...

  • sudo yum install samba-client samba-common cifs-utils -y
  • On Ubuntu

    Code Block
    sudo apt-get install keyutils cifs-utils

Make a directory where you want to mount the share, e.g:

Code Block
languagebash
sudo mkdir /mnt/storage

Then edit /etc/fstab using your preferred text editor, for example, sudo vi /etc/fstab
Inside /etc/fstab add a line similar to the below to the bottom of the file:
\\storage.yale.edu\home\Spinup_Demo-CC0000-ITSHTS /mnt/storage cifs user,uid=1000,rw,noauto,suid,credentials=/home/ag0000/secret.txt,vers=3.0 0 0

...

To set up that way, you will first need to do install the CIFS client (as above)

...

languagebash

...

described above).

Then when you want mount your storage run the command below:

...