#

Mounting Storage on Desktop or Laptop

In addition to connecting to Odyssey servers and launching compute jobs, many scientists use Odyssey file systems for storage of lab data. Many, but not all, file systems can be mounted on your desktop to simplify data transfer. Odyssey file systems which are available to be mounted are shared via the Windows SMB protocol so this process is straightforward(ish).

PLEASE NOTE: Regal scratch space (/n/regal) cannot be mounted in this manner. It is only available on the cluster. If you need to transfer data to Regal scratch, you can use an SFTP or SCP client to connect to the cluster and access /n/regal.

  1. Connect to the VPN

    If using wireless connections, Odyssey storage must be routed through a VPN connection. If on wired connections inside Harvard, the VPN client is not required. If you don't already have one setup, follow the Odyssey VPN setup instructions.
    NOTE: If you have set up custom DNS on your computer, this may cause issues connecting to shares.

  2. Find the filesystem path (If you already know the path, skip to the next step.)

    Mounting your HOME DIRECTORY

    If you have cluster access, you can mount your home directory as a drive. You can figure out the path to your home directory by using ssh to login to Odyssey.
    Use cd ~ to go to your home directory (on a Unix-like system, the ~ character is a shortcut to 'my home directory').
    Then type df -h . (note the "." character at the end of the command - a period is the Unix filesystem shortcut for 'wherever I am right now'). 

    [jharvard@rclogin05 ~]$ cd ~
    [jharvard@rclogin05 ~]$ df -h .
    Filesystem Size Used Avail Use% Mounted on
    rcstore:/ifs/rc_homes/home08 777T 414T 358T 54% /n/home08/

    The server short name is the word before “:”, in the case above, rcstore. To construct the server full name, you will need to add .rc.fas.harvard.edu 

    The share name comes after/ifs/rc_homes, and will be the word home followed by a number. In the example above it is home08.

    The path, therefore, that you will need for connecting is the combination of the server full name, followed by the word homes to signify that it's a home directory, the share name (home08 in this example), and your RC username.

    For this example, this would result in:
    For Windows \\rcstore.rc.fas.harvard.edu\homes\home08\jharvard
    or
    For Mac OSX smb://rcstore.rc.fas.harvard.edu/homes/home08/jharvard

    All the instructions below use these values in the examples. You will need to substitute jharvard, rcstore, and home08 with the values applicable to you.

    Mounting a LAB SHARE

    Lab file shares are often, but not always, more simple. If you don't already know the path, ask a lab-mate, or from a login node you can try to derive the full path:
    [jharvard@rclogin05 ~]$ cd /n/jharvard_lab
    [jharvard@rclogin05 jharvard_lab]$ df -h .

    Filesystem Size Used Avail Use% Mounted on
    rcstorenfs02:/ifs/rc_labs/singer_lab 4.0T 254G 3.8T 7% /net/rcstorenfs02/ifs/rc_labs/singer_lab


    The server short name is the word before “:”, in the case above, rcstorenfs02. To construct the server full name, you will need to add .rc.fas.harvard.edu 

    The share name comes after a server path which you will disregard and which will vary, in this example it is/ifs/rc_labs In the example above the share name is jharvard_lab. The share name will almost always be your lab group's Unix group name, with some exceptions, especially if your lab has purchased its own server.

    You will use just the server full name and sharename to form the full lab share path.

    For this example, this would result in:
    For Windows \\rcstorenfs02.rc.fas.harvard.edu\jharvard_lab
    or
    For Mac OSX smb://rcstorenfs02.rc.fas.harvard.edu/jharvard_lab

  3. Macs use Connect to Server

    If you're using a Mac, go to a Finder window (or click on the desktop) and choose Go > Connect to Server from the menu.

    Mac Connect to Server
    In the server address box, enter the server and path combination as described above prepended with the smb:// protocol specifier (please note that Macs use "/" where Windows uses of "\"). Using the example information above, the value would be smb://rcstore.rc.fas.harvard.edu/homes/home08/dsulivan to mount the home directory of the dsulivan user. If you are mounting a lab share path, enter that instead (example: smb:newtonfs1.rc.fas.harvard.edu/newton_lab)..
    Mount home directory on a Mac
    If you've selected the proper volume, you should get a login prompt. Use your Odyssey credentials here. Note that you must include the rc\ domain specifier at the beginning of your user name.
    Use your Odyssey credentials to connect. Don't forget the `rc\`.

  4. PCs use Map Network Drive

    You can connect to shared storage on a PC by using the Map Network Drive control panel application. This should be available from a Windows Explorer window.Access Map Network Drive from the "Computer" menu on Windows Explorer.In the Map Network Drive utility, select a drive letter, then enter the combination of share and path. For the example described above, the correct entry would be \\rcstore.rc.fas.harvard.edu\homes\home08\dsulivan. If you are mounting a lab share path, enter that instead (example: \\newtonfs1.rc.fas.harvard.edu\newton_lab).

    It is important to select the Connect using different credentials box. Usually, PC logins are not the same as Odyssey usernames and passwords. If you don't select this checkbox, it will attempt to login with your PC information and may result in a lockout. Also, make sure you are connected through the VPN if on wireless or off-campus -- this connection cannot be made outside of the VPN with these connection types/locations.
    Windows 8 Map Network Drive. Note that "Connect using different credentials" should be checked.
    When you are prompted for a login, make sure and prepend the rc\ domain to your username.
    Login to Odyssey storage using rc domain credentials.

  5. Linux using a terminal window

    You can mount storage on a Linux system by using the desktop GUI or from the command line. Run id command on your Linux machine to determine your uid and gid, then enter the following commands (set username to your RC username and set uid and gid to your local account values):

    mkdir /mnt/odyssey
    mount -t cifs -o workgroup=rc,username=dsulivan,uid=1000,gid=1000 //rcstore.rc.fas.harvard.edu/homes/home08/dsulivan /mnt/odyssey

    This will prompt you for your password. If instead you get an error message about a read-only filesystem, it could be because the mount.cifs command is not installed on your system. Using this method, you will need to reissue the command every time you boot your computer.

  6. FileZilla

    If you are unable to mount your lab storage due to SMB errors or other reasons, we offer FileZilla as an alternative. 

CC BY-NC-SA 4.0 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Permissions beyond the scope of this license may be available at Attribution.