Table of Contents
In addition to connecting to the cluster and launching compute jobs, many scientists use FASRC file systems for storage of lab data. Many, but not all, file systems can be mounted on your desktop to simplify data transfer. FASRC file systems which are available to be mounted are shared via the Windows SMB protocol so this process is straightforward(ish).
PLEASE NOTE: Scratch space (/n/scratchlfs or /n/regal) cannot be mounted in this manner. It is only available on the cluster. If you need to transfer data to scratch, you can use an SFTP or SCP client to connect to the cluster and then access /n/scratchlfs.
Connect to the VPN
If using wireless connections, cluster 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 VPN setup instructions.
NOTE: If you have set up custom DNS on your computer, this may cause issues connecting to shares.
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
sshto login to the cluster.
cd ~to go to your home directory (on a Unix-like system, the ~ character is a shortcut to 'my home directory').
pwdto show where your home directory resides.
[jharvard@boslogin02 ~]$ pwd
The home08 is the part we need in this example in order to construct the full path to your home directory. Since all home directories are mounted from the same server, we don't need to figure that part out.
The path, therefore, that you will need for connecting is the combination of the server name, rcstore.rrc.fas.harvard.edu. followed by the word
homesto signify that it's a home directory, the sub-folder your home directory resides in (home08 in this example), and your RC username.
For this example, this would result in:
For Mac OSX
Mounting a LAB SHARE
If you don't already know the path, ask a lab-mate as your share may have its own path. Your share may also be on a common fileserver, and from a login node you can derive the full path with some deduction. Bear in mind that we have several different types of filesystems, so the output of the following command will vary. We've included an examples that's most common. First, from your SSH session, cd to your lab's share:
[jharvard@boslogin02 ~]$ cd /n/jharvard_lab
[jharvard@boslogin02 jharvard_lab]$ pwd -P
This will return a path that looks similar to one of the following:
The server short name is the word after “net” or "n", in the case above,
fs2k02. 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
/srv/exportIn the example above the share name is
jharvard_lab. Disregard anything after the share name such as
share_root. The share name will almost always be your lab group's Unix group name, with one or two exceptions.
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 Mac OSX
Again, some labs will have their own specific path, so check with a lab-mate or your PI if it's not obvious. You can also contact us and we can look up the path for you.
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.
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 might be
smb://rcstore.rc.fas.harvard.edu/homes/home08/jharvardto mount the home directory of user
jharvard. If you are mounting a lab share path, enter that instead (example:
If you've selected the proper volume, you should get a login prompt. Use your FASRC credentials here. Note that you must include the
rc\domain specifier at the beginning of your user name.
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.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\jharvard. If you are mounting a lab share path, enter that instead (example:
It is important to select the Connect using different credentials box. Usually, PC logins are not the same as FASRC 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.
When you are prompted for a login, make sure and prepend the
rc\domain to your username.
Linux using a terminal window
You can mount storage on a Linux system by using the desktop GUI or from the command line. Run
idcommand 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):
mount -t cifs -o workgroup=rc,username=jharvard,uid=1000,gid=1000 //rcstore.rc.fas.harvard.edu/homes/home08/jharvard /mnt/cluster
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.cifscommand is not installed on your system. Using this method, you will need to reissue the command every time you boot your computer.
If you are unable to mount your lab storage due to SMB errors or other reasons, we offer FileZilla as an alternative.
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.