SMB (Local Mount)
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.
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.
- 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>/<user>and click "Connect".
- To access your Home directory, enter
- To access your Scratch space, enter
- To access your Data directory, enter
- To check your PI group run 'groups' command.
- 3.Enter your AD username and password.
- 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.
- 1.Install the
cifs-utilspackage:CentOS/RHEL: $ sudo yum install cifs-utilsUbuntu: $ 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/cifspwusername=userpassword=password
- 4.Allow only root access to the credentials files:$ sudo chmod 0600 /etc/cifspw
- 5.Add an entry to the
fstab:$ sudo gedit /etc/fstab
fstabentry should be following:# Home//smb.ccv.brown.edu/home/<user> /mnt/rhome cifs credentials=/etc/cifspw,vers=2.0,nounix,uid=<localuser>,domain=ad.brown.edu 0 0# Scratch//smb.ccv.brown.edu/scratch/<user> /mnt/rscratch cifs credentials=/etc/cifspw,vers=2.0,nounix,uid=<localuser>,domain=ad.brown.edu 0 0# Data//smb.ccv.brown.edu/data/<pi_group>/<user> /mnt/rdata cifs credentials=/etc/cifspw,vers=2.0,nounix,uid=<localUser>,domain=ad.brown.edu 0 0
<localUser>to the login used on your Linux workstation.
- 8.Mount the share:$ mount -a
- 1.Right-click "Computer" and select "Map Network Drive"
- 2.Select an unassigned drive letter
- 3.To mount specific volumes:
- For Home directory, enter
- For Scratch space, enter
- For Data directory, enter
- 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 (
~/scratch) of your home directory.