This page contains description on how to map CRI storage to your computer. Depending on the operating system you are using there are different approaches. Which are shown below;

Mac os users

  1. from Finder, click ‘Go’
  2. then click ‘connect to server’
  3. then connect to smb://prfs.cri.uchicago.edu/im-lab

Linux users

  1. Install sshfs
sudo apt-get install sshfs 
  1. Create the mount point
# Create the mountpoint
[festus@ubuntu ~ ]$ mkdir ~/im-lab
  1. Invoke sshfs with your credentials
# Invoke SSHFS with your SSH credentials and the remote location to mount
[festus@ubuntu ~ ]$ sshfs t.cri.fnyasimi@gardner.cri.uchicago.edu:/gpfs/data/im-lab ~/im-lab

# If you have set up the ssh config you can use it to mount;
[festus@ubuntu ~ ]$ sshfs gardner:/gpfs/data/im-lab ~/im-lab

# Access the mounted filesystem
[festus@ubuntu ~ ]$ ls ~/im-lab/
nas40t2
  1. Unmount the filesystem
# Unmount the remote FS
[festus@ubuntu ~ ]$ fusermount -u ~/im-lab

NB: sshfs doesn’t expand ~ on a remote machine to the user’s home directory.

Windows users

You need to install two programmes, After the installation, you can mount/map directories from any servers that providing SSH connection service to Windows as a network drive.

  1. Install two programs - WinFsp and SSHFS-Win.
  2. Clicks mouse right button on “This PC” in file explorer, selects “Map network drive…” on pop menu.
  3. Select drive letter and replaces username and server host name to yours.
  4. Input your authoritative credentials
  5. If success, you will see the drive letter mapped to the folder of your remote ssh server. You’re ready to access and manipulate remote files and folders now.

Note

The sshfs system can also be used on Mac os and windows os.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The source code is licensed under MIT.

Suggest changes

If you find any mistakes (including typos) or want to suggest changes, please feel free to edit the source file of this page on Github and create a pull request.

Citation

For attribution, please cite this work as

Festus Nyasimi (2021). Mount Gardner file stystem to your computer. ImLab Notes. /post/2021/07/12/map-cri-storage-to-your-computer/

BibTeX citation

@misc{
  title = "Mount Gardner file stystem to your computer",
  author = "Festus Nyasimi",
  year = "2021",
  journal = "ImLab Notes",
  note = "/post/2021/07/12/map-cri-storage-to-your-computer/"
}