Synology diskstation: Difference between revisions

From csml-wiki.northwestern.edu
Jump to navigation Jump to search
mNo edit summary
Line 38: Line 38:
</pre>
</pre>


=== Mounting your Synology folder directly on your Linux workstation ===
=== Accessing your Synology folder on your Linux workstation ===


On Ubuntu, open Nautilus (see e.g. https://www.synology.com/en-global/knowledgebase/tutorials/610#t2_3) and choose '''Connect to server'''. Then enter as ''Server Address'':
(either via NFS or WebDAV, TBD)
<pre>
davs://pergamon.ms.northwestern.edu:5012
</pre>

On openSuSE, open Dolphin (from launcher go to "Computer" and then "Network"). Then choose '''Add Network Folder'''. In the dialog box, enter:
** '''Name:''' Pergamon
** '''User:''' your username
** '''Server:''' pergamon.ms.northwestern.edu
** '''Port:''' 5012
** '''Folder:''' /
** Check '''Use encryption'''. It is possible that the port is then reset to 443. If this happens, change it back to 5012.

Then proceed via '''Save & Connect'''. You will receive warning about the SSL certificate. Accept this.

=== Mounting your Synology folder on your Linux workstation ===

(davfs, NFS --- will add soon)


== Administration ==
== Administration ==

Revision as of 09:24, 5 November 2015

Pergamon is a Synology diskstation that can be accessed in a number of ways. It offers each group member 1 TB of storage space (this may be expanded in the future).

Usage scenarios

Logging in via ssh

You have the same username as on the main cluster. Log in from your workstation via 'ssh pergamon'. This is not a full Linux implementation; the main purpose of the shell is to navigate around the file system. Your home folder is '/volume1/homes/USERNAME'.

Web access

https://pergamon.ms.northwestern.edu:5001

Copying data to diskstation via scp

You can use scp as you would use it for copying files to any other machine:

scp LOCAL_FILES pergamon:

Copying data to diskstation via rsync

You must specify your home folder, i.e., from your workstation do

rsync -avz LOCAL_FILES pergamon:/volume1/homes/USERNAME

Mounting your Synology folder on OS X

On your Mac, start Finder, select 'Go' and then 'Connect to Server'. In server address, enter:

afp://pergamon.ms.northwestern.edu

From the folders offered, select 'home'. This folder is now available in Finder under 'Shared: pergamon' and from the command line on your Mac via '/Volumes/home'.

As an alternative, you can also mount your folder via the WebDAV protocol. This works in the same way, except that you enter the following for the server address:

https://pergamon.ms.northwestern.edu:5012

Accessing your Synology folder on your Linux workstation

On Ubuntu, open Nautilus (see e.g. https://www.synology.com/en-global/knowledgebase/tutorials/610#t2_3) and choose Connect to server. Then enter as Server Address:

davs://pergamon.ms.northwestern.edu:5012

On openSuSE, open Dolphin (from launcher go to "Computer" and then "Network"). Then choose Add Network Folder. In the dialog box, enter:

    • Name: Pergamon
    • User: your username
    • Server: pergamon.ms.northwestern.edu
    • Port: 5012
    • Folder: /
    • Check Use encryption. It is possible that the port is then reset to 443. If this happens, change it back to 5012.

Then proceed via Save & Connect. You will receive warning about the SSL certificate. Accept this.

Mounting your Synology folder on your Linux workstation

(davfs, NFS --- will add soon)

Administration

Creating a new user

  • On the Control Panel, select User, Create.
    • Choose the same username as in NIS.
    • Join groups: Only users.
    • Assign shared folder permissions: read/write to homes, no access to all other folders.
    • User quota settings: 1000 GB.
    • Assign application permissions:
    • User speed limit setting: no limit.
  • After this, log in as root, and change /etc/passwd, such that for the new users /sbin/nologin is replaced with /bin/sh
  • Also, while logged in as root, do chmod og-rx /volume1/homes/newuser (where newuser is the new username)