Synology diskstation: Difference between revisions
Line 32: | Line 32: | ||
</pre> |
</pre> |
||
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'. |
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: |
|||
<pre> |
|||
https://pergamon.ms.northwestern.edu:5012 |
|||
</pre> |
|||
=== Mounting your Synology folder directly on your Linux workstation === |
=== Mounting your Synology folder directly on your Linux workstation === |
Revision as of 06:05, 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
Mounting your Synology folder directly on your Linux workstation
(either via NFS or WebDAV, TBD)
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)