UBFS: Difference between revisions

From CCN Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
== '''UBFS''' ==
== '''UBFS''' ==


The UBFS folder in the home directory contains data and lots of other goodies you may need to access at some point.
The UBFS folder in your home directory contains data and lots of other goodies you may need to access at some point. The good people at UBIT grant permissions to specified UB users to be able to access this network folder.


If you do not have a UBFS folder in your home directory, open a terminal (ctrl-alt-T).
If you do not have a UBFS folder in your home directory, one will be created for you automatically by running the <code>ubmount.sh</code> script. This script sends the UBIT fileserver all the information it needs in order to grant you access to the drive. However, this script also requires you to provide it with a few parameters, which we store in a file called <code>ubfs.keys</code> that sits in your home directory in a place that only you can see it.


=== Creating a ubfs.keys configuration file ===
Open a terminal (ctrl-alt-T).
Move to the .config directory
Move to the .config directory
  cd ~/.config   
  cd ~/.config   
Line 14: Line 16:


In the ubfs.keys file add the following:
In the ubfs.keys file add the following:
  username=YourUBname
  username=''YourUBname''
  password=YourUBpassword
  password=''YourUBpassword''
  domain=AD
  domain=AD


Push ctrl-o to save, enter, and ctrl-x to exit.
Push ctrl-o to save, enter, and ctrl-x to exit. Your ubfs.keys file is now correctly configured for this computer (you will have to do this on each computer you work on).


You should now have a UFS folder in your home directory!
===Using ubmount.sh to mount the ubfs directory===
 
Is your ~/ubfs folder empty (or nonexistent)? Well guess what, you need to mount (or remount) it!
== '''Ubmount''' ==
Is your UBFS folder empty? Well guess what, you need to mount (or remount) it!


Just open up your Terminal (ctrl-alt-T) and run the command:
Just open up your Terminal (ctrl-alt-T) and run the command:
Line 31: Line 31:


If not, we've got a bit more to add to this wikipage.
If not, we've got a bit more to add to this wikipage.
==What am I looking for?==
After it has been mounted, your ~/ubfs folder will contain several dozen directories, only one of which contains our files. You will be looking for the following subdirectory:
~/ubfs/cpmcnorg/
This folder contains many subdirectories of useful resources and is where we plan to store all of our raw fMRI data (for the time being, at least)

Revision as of 21:02, 24 February 2016

UBFS

The UBFS folder in your home directory contains data and lots of other goodies you may need to access at some point. The good people at UBIT grant permissions to specified UB users to be able to access this network folder.

If you do not have a UBFS folder in your home directory, one will be created for you automatically by running the ubmount.sh script. This script sends the UBIT fileserver all the information it needs in order to grant you access to the drive. However, this script also requires you to provide it with a few parameters, which we store in a file called ubfs.keys that sits in your home directory in a place that only you can see it.

Creating a ubfs.keys configuration file

Open a terminal (ctrl-alt-T). Move to the .config directory

cd ~/.config  

Check that the ubfs.keys file exists

touch ubfs.keys

Open the file to edit

nano ubfs.keys

In the ubfs.keys file add the following:

username=YourUBname
password=YourUBpassword
domain=AD

Push ctrl-o to save, enter, and ctrl-x to exit. Your ubfs.keys file is now correctly configured for this computer (you will have to do this on each computer you work on).

Using ubmount.sh to mount the ubfs directory

Is your ~/ubfs folder empty (or nonexistent)? Well guess what, you need to mount (or remount) it!

Just open up your Terminal (ctrl-alt-T) and run the command:

ubmount.sh

Your UBFS folder should be good as new!

If not, we've got a bit more to add to this wikipage.

What am I looking for?

After it has been mounted, your ~/ubfs folder will contain several dozen directories, only one of which contains our files. You will be looking for the following subdirectory:

~/ubfs/cpmcnorg/

This folder contains many subdirectories of useful resources and is where we plan to store all of our raw fMRI data (for the time being, at least)