This server includes a variety of data: raw MRI and histology data, project data (processed and non-processed), temporary data to share with colleagues.

{smb,afp}://duke.neuro.polymtl.ca has a max size of ~15TB and is backed up nightly at two different locations.

The shared folders are:

  • histology –> Raw histology files

  • mri –> Raw MRI files (restricted access)

  • projects –> Shared project files (subfolders containing different projects)

  • public –> Contains useful software binaries

  • sct_testing –> Data for testing SCT

  • temp –> Use for temporary files, to share between you. Files are deleted after 15 days.


duke is not accessible when using SSH key login to linux stations.

Access from stations#

When connecting with ssh, duke is available at /mnt/duke/, e.g.:

u932945@joplin:~$ ls -l /mnt/duke
total 36
drwxr-xr-x 2 u108545 domain users  4096 May 13 14:37 histology
drwxr-xr-x 2 u108545 domain users 12288 Jun  7 17:35 mri
drwxr-xr-x 2 u108545 domain users  8192 Jun  8 23:21 projects
drwxr-xr-x 2 u108545 domain users  4096 Mar 11 18:38 public
drwxr-xr-x 2 u108545 domain users  4096 Feb 18 20:45 sct_testing
drwxr-xr-x 2 u108545 domain users  4096 Jun  8 16:44 temp

Mount with GUI#

When working on campus or over the VPN, you can connect your computer to duke:

  1. Open Finder

  2. CMD+K

  3. afp://duke.neuro.polymtl.ca/

  1. Open File Browser

  2. Menu > Go > Open Network Location

  3. smb://duke.neuro.polymtl.ca/

  1. Open Windows explorer

  2. Right click This PC

  3. Map Network Drive

  4. Address: \\duke.neuro.polymtl.ca\<FOLDER>

  5. Check β€œConnect using different credentials”.

  6. Username: grames\<POLYGRAMES_USERNAME>



Some root folders are restricted (e.g. mri), so you need to write the URL to the destination folder you have access to. Example: duke.neuro.polymtl.ca/mri/unf


If you get the message β€œThere are no shares available…”, then there might be a bug with the OS. Instead, try to mount on a local folder within the home directory (to have write permission).

Mount with Terminal#

You can also connect your computer from the CLI, or with a script, which might be more efficient in the long run:

Create folder for the mount point on a location (your home directory) where you have read and write access:

mkdir <FOLDER_NAME> # (e.g. <FOLDER_NAME>=sct_testing)
# To mount:
mount -t afp afp://USERNAME:PASSWORD@duke.neuro.polymtl.ca/<FOLDER_NAME> <FOLDER_NAME>
# To unmount:
sudo umount <FOLDER_NAME>/

To mount:

sudo mount -t cifs //duke.neuro.polymtl.ca/<FOLDER_NAME> /mnt/duke/<FOLDER_NAME> -o username=<GRAMES_USERNAME>,noexec