Oscar
HomeServicesDocumentation
  • Overview
  • Quickstart
  • Getting Started
  • System Hardware
  • Account Information
  • Short "How to" Videos
  • Quick Reference
    • Common Acronyms and Terms
    • Managing Modules
    • Common Linux Commands
  • Getting Help
    • ❓FAQ
  • Citing CCV
  • CCV Account Information
  • Student Accounts
  • Offboarding
  • Connecting to Oscar
    • SSH (Terminal)
      • SSH Key Login (Passwordless SSH)
        • Mac/Linux/Windows(PowerShell)
        • Windows(PuTTY)
      • SSH Configuration File
      • X-Forwarding
      • SSH Agent Forwarding
        • Mac/Linux
        • Windows (PuTTY)
      • Arbiter2
    • Open OnDemand
      • Using File Explorer on OOD
      • Web-based Terminal App
      • Interactive Apps on OOD
      • Using Python or Conda environments in the Jupyter App
      • Using RStudio
      • Desktop App (VNC)
    • SMB (Local Mount)
    • Remote IDE (VS Code)
      • From Non-compliant Networks (2-FA)
      • Setup virtual environment and debugger
  • Managing files
    • Oscar's Filesystem
    • Transferring Files to and from Oscar
    • Transferring Files between Oscar and Campus File Storage (Replicated and Non-Replicated)
    • Resolving quota issues
      • Understanding Disk Quotas
    • Inspecting Disk Usage (Ncdu)
    • Restoring Deleted Files
    • Best Practices for I/O
    • Version Control
  • Submitting jobs
    • Running Jobs
    • Slurm Partitions
    • Interactive Jobs
    • Batch Jobs
    • Managing Jobs
    • Job Arrays
    • MPI Jobs
    • Condo/Priority Jobs
    • Dependent Jobs
    • Associations & Quality of Service (QOS)
  • GPU Computing
    • GPUs on Oscar
      • Grace Hopper GH200 GPUs
      • H100 NVL Tensor Core GPUs
      • Ampere Architecture GPUs
    • Submitting GPU Jobs
    • Intro to CUDA
    • Compiling CUDA
    • Installing Frameworks (PyTorch, TensorFlow, Jax)
      • Installing JAX
      • Installing TensorFlow
    • Mixing MPI and CUDA
  • Large Memory Computing
    • Large Memory Nodes on Oscar
  • Software
    • Software on Oscar
    • Using Modules
    • Migration of MPI Apps to Slurm 22.05.7
    • Python on Oscar
    • Python in batch jobs
    • Installing Python Packages
    • Installing R Packages
    • Using CCMake
    • Intro to Parallel Programming
    • Anaconda
    • Conda and Mamba
    • DMTCP
    • Screen
    • VASP
    • Gaussian
    • IDL
    • MPI4PY
  • Jupyter Notebooks/Labs
    • Jupyter Notebooks on Oscar
    • Jupyter Labs on Oscar
    • Tunneling into Jupyter with Windows
  • Debugging
    • Arm Forge
      • Configuring Remote Launch
      • Setting Job Submission Settings
  • MATLAB
    • Matlab GUI
    • Matlab Batch Jobs
    • Improving Performance and Memory Management
    • Parallel Matlab
  • Visualization 🕶
    • ParaView Remote Rendering
  • Singularity Containers
    • Intro to Apptainer
    • Building Images
    • Running Images
    • Accessing Oscar Filesystem
      • Example Container (TensorFlow)
    • Singularity Tips and Tricks
  • Installing Software Packages Locally
    • Installing your own version of Quantum Espresso
    • Installing your own version of Qmcpack
  • dbGaP
    • dbGaP Architecture
    • dbGaP Data Transfers
    • dbGaP Job Submission
  • RHEL9 Migration
    • RHEL-9 Migration
    • LMOD - New Module System
    • Module Changes
    • Testing Jupyter Notebooks on RHEL9 mini-cluster
  • Large Language Models
    • Ollama
Powered by GitBook
On this page
  • macOS
  • Linux
  • Windows

Was this helpful?

Export as PDF
  1. Connecting to Oscar

SMB (Local Mount)

PreviousDesktop App (VNC)NextRemote IDE (VS Code)

Last updated 1 year ago

Was this helpful?

CCV users can access their home, data, and scratch directories as a local mount on their own Windows, Mac, or Linux system using the Common Internet File System (CIFS) protocol (also called Samba). This allows you to use applications on your machine to open files stored on Oscar. It is also a convenient way to move files between Oscar and your own machine, as you can drag and drop files.

To use SMB you will need to be connected to the VPN. Please install the before proceeding.

A user's Windows machine is required to have installed on the Windows machine to use SMB.

Users should ensure that the date and time are set correctly on their machine. Now you are ready to mount your CCV directories locally. Instructions for each of the various operating systems are given below.

Since the Jun'23 maintenance, you do not need to put your username in the Server address. Please update your server address if you see issues connecting to Oscar.

macOS

  1. In the Finder, press "Command + K" or select "Connect to Server..."

    from the "Go" menu.

  2. For "Server Address", enter smb://smb.ccv.brown.edu/<volume>/

    and click "Connect".

    • To access your Home directory, entersmb://smb.ccv.brown.edu/home/

    • To access your Scratch space, entersmb://smb.ccv.brown.edu/scratch/

    • To access your Data directory, entersmb://smb.ccv.brown.edu/data/<pi_group>/

      • To check your PI group run 'groups' command.

  3. Enter your AD username and password. If you have trouble connecting, enter <username>@ad.brown.edu as your Username

  4. You may choose to add your login credentials to your keychain so you will not need to enter this again.

Optional. If you would like to automatically connect to the share at startup:

  1. Open "System Preferences" (leave the Finder window open).

  2. Go to "Accounts" > "(your account name)".

  3. Select "Login Items".

  4. Drag your data share from the "Finder" window to the "Login Items" window.

Linux

  1. Install the cifs-utils package:

    CentOS/RHEL:   $ sudo yum install cifs-utils
    Ubuntu:        $ sudo apt-get install cifs-utils
  2. Make a directory to mount the share into:

    $ sudo mkdir -p /mnt/rhome /mnt/rscratch /mnt/rdata
  3. Create a credentials file and add your AD account information:

    $ sudo gedit /etc/cifspw
    
    username=user
    password=password
  4. Allow only root access to the credentials files:

    $ sudo chmod 0600 /etc/cifspw
  5. Add an entry to thefstab:

    $ sudo gedit /etc/fstab
  6. Thefstabentry should be following:

    # Home
    //smb.ccv.brown.edu/home/ /mnt/rhome cifs credentials=/etc/cifspw,nounix,uid=<localuser>,domain=ad.brown.edu 0 0
    
    # Scratch 
    //smb.ccv.brown.edu/scratch/ /mnt/rscratch cifs credentials=/etc/cifspw,nounix,uid=<localuser>,domain=ad.brown.edu 0 0
    
    # Data
    //smb.ccv.brown.edu/data/<pi_group>/ /mnt/rdata cifs credentials=/etc/cifspw,nounix,uid=<localUser>,domain=ad.brown.edu 0 0
  7. Replace<localUser>to the login used on your Linux workstation, and replace <user> and <pi_group> with your Oscar username and PI group, respectively.

  8. Mount the share:

    $ mount -a

Windows

  1. Right-click "Computer" and select "Map Network Drive"

  2. Select an unassigned drive letter

  3. To mount specific volumes:

  • For Home directory, enter\\smb.ccv.brown.edu\home\

  • For Scratch space, enter\\smb.ccv.brown.edu\scratch\

  • For Data directory, enter\\smb.ccv.brown.edu\data\<pi_group>\

    • To check your<pi_group>run 'groups' command.

  1. Check "Connect using different credentials"

  2. Click "Finish"

  3. Enter your AD user name. If your computer is not in Active Directory (AD), you should enter your username in the format ad\username

  4. Enter your AD password and click "OK"

You can now access your home directory through Windows Explorer with the assigned drive letter. Your data and scratch directories are available as the subdirectories (~/data and ~/scratch) of your home directory.

Brown VPN client
Crowdstrike Home