Information Services

Mapping a network share in Linux

How to connect to a Linux network share.

If you do not know the path of the share you need to map, please contact your local admin team or the IS Helpline. For the path to your personal homespace, please visit:

My homespace info

-------------

Connect to the University network

If your Linux machine is not connected to the Uni network by an ethernet cable or eduroam wi-fi, e.g. if it is off-campus, please register for, set up and connect to the University Virtual Private Network (VPN) service to authenticate your computer:

Connecting to the VPN Service

-------------

Map a DataStore drive in CIFS

  1. You can access the DataStore service using the CIFS Windows share method (needs root access):

mount -t cifs -o username=ED\\UUN,uid=LOCALUSERNAME //COLLEGE.datastore.ed.ac.uk/path/to/share_name /mnt/datastore

  1. You may alternatively find that the command, depending on your type of Linux system, is:

sudo mount.cifs //path/to/share_name /mnt/datastore -o user=ED\\UUN

Where COLLEGE (either chss, cmvm or csce), path/to/share_name and UUN relate to the area you wish to connect to and your University login name.

-------------

Map a DataStore drive in NFS

NFS access is restricted by a firewall. If you require access to the NFS service, you must first register your machine with the ECDF. A static IP address and root access is also required for NFS access. Please contact the IS Helpline for further information.

  1. Run the following command to mount an NFS share:

mount.nfs COLLEGE.datastore.ed.ac.uk:/exports/COLLEGE/datastore/ path/to/share_name /mnt/datastore

Where COLLEGE (either chss, cmvm or csce) and path/to/share_name relate to the area you wish to connect to.

-------------

Map a DataStore drive in SMB

Command line access using smbclient is also possible, for example:

smbclient \\\\COLLEGE.datastore.ed.ac.uk\\COLLEGE -W ED -U UUN

Where COLLEGE (either chss, cmvm or csce) and UUN relate to the area you wish to connect to and your University login name.

-------------

Need any help?