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). There are two requirements for using this service:
First, use SSH to connect to Oscar to set your CIFS password. Once logged in, run the command:
$ smbpasswd
You will first be prompted for your "old" password, which is the temporary password you were given by CCV when your account was created. Then, enter a new CIFS password twice. You may choose to use the same password here as for your Oscar account.
Now you are ready to mount your CCV directories locally using the following instructions based on your operating system:
\\oscarcifs.ccv.brown.edu\<user> as the Folder.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.
\\oscarcifs.ccv.brown.edu\<user> as the Folder.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.
smb://oscarcifs.ccv.brown.edu/<user> and click "Connect".Optional. If you would like to automatically connect to the share at startup:
Install the cifs-utils package:
CentOS/RHEL: $ sudo yum install cifs-utils
Ubuntu: $ sudo apt-get install cifs-utilsMake a directory to mount the share into:
$ sudo mkdir /mnt/rdataCreate a credentials file and add your CCV account information:
$ sudo gedit /etc/cifspw
username=<user>
password=<password>Allow only root access to the credentials files:
$ sudo chmod 0600 /etc/cifspwAdd an entry to the fstab:
$ sudo gedit /etc/fstab
//oscarcifs.ccv.brown.edu/<user> /mnt/rdata cifs credentials=/etc/cifspw,nounix,uid=<localUser> 0 0
The fstab entry is a single line. Change <localUser> to the login used on your Linux workstation. The above fstab entry is a single line.
Mount the share:
$ mount -a