Difference between revisions of "Accessing the shared AOG Research drive"

From Applied Optics Wiki
Jump to: navigation, search
(basic how to on accessing the AOG research drive)
 
m (formatting)
Line 13: Line 13:
  
  
So, first make a directory which will host the mounted file system:  
+
So, first make a directory which will host the mounted file system. At a command prompt, enter:
  
'''sudo mkdir /mnt/aog_disk'''
+
sudo mkdir /mnt/aog_disk
  
 
You'll be asked for the root password (of the linux computer you're working on).
 
You'll be asked for the root password (of the linux computer you're working on).
Line 22: Line 22:
 
The command to "mount" (ie access) the filestore is:
 
The command to "mount" (ie access) the filestore is:
  
'''sudo mount -t cifs //uon4.ad.nottingham.ac.uk/r01/AOG-Linux /mnt/aog_disk -o username=uon_user_name,uid=aog_user_name'''
+
sudo mount -t cifs //uon4.ad.nottingham.ac.uk/r01/AOG-Linux /mnt/aog_disk -o username=uon_user_name,uid=aog_user_name
  
 
You'll be asked for your UoN password.
 
You'll be asked for your UoN password.
Line 28: Line 28:
 
uon_user_name is your UoN username, used for email etc.
 
uon_user_name is your UoN username, used for email etc.
  
aog_user_name is your AoG username, used with the linux network
+
aog_user_name is your AoG username, used with the AoG linux network
  
  
Line 39: Line 39:
 
To unmount:
 
To unmount:
  
''' sudo umount /mnt/aog_disk''' : enter root password
+
sudo umount /mnt/aog_disk : enter root password
  
 
aog_disk should be empty now.
 
aog_disk should be empty now.

Revision as of 15:21, 8 January 2014

Back to Linux How-tos

Introduction

The Applied Optics group has been allocated some file storage space by IS. It is backed up. Access via Linux has to be requested, so talk to Steve or Roger if you'd like access. It appears that once you get access, it is also linked to your Z drive available files.nottingham.ac.uk.

Please note that there is no record of users, so once you mount the drive, you have total read+write access. Use with care.


Mounting the drive

To do this, you need to be root. If you don't know how to do this, are scared of doing this, or don't know the password, then ask someone who does. You should know who that is.


So, first make a directory which will host the mounted file system. At a command prompt, enter:

sudo mkdir /mnt/aog_disk

You'll be asked for the root password (of the linux computer you're working on).


The command to "mount" (ie access) the filestore is:

sudo mount -t cifs //uon4.ad.nottingham.ac.uk/r01/AOG-Linux /mnt/aog_disk -o username=uon_user_name,uid=aog_user_name

You'll be asked for your UoN password.

uon_user_name is your UoN username, used for email etc.

aog_user_name is your AoG username, used with the AoG linux network


If you enter both passwords correctly then you'll get no error, and when you cd aog_disk you'll be able to see the files. You should be able to read and write to all files, so caution is adviced.


Unmounting the drive

To unmount:

sudo umount /mnt/aog_disk : enter root password

aog_disk should be empty now.


Cheers,

Samuel