1. Home
  2. Docs
  3. IT Documentation
  4. File servers
  5. Manually map shares on Linux

Manually map shares on Linux

All devices managed by IST Austria IT, should have the most important network shares mounted automatically when you login to the system. If this is not the case for you device, please contact us at it@ist.ac.at, so we can resolve the issue.

Here are 2 methods for mounting our network shares with Linux.

Using the Graphical User Interface

Just open your file-manager on Linux (“Files”) and on the left-bottom you should find the option “+ Other Locations”. Just click it and at “connect to Server” enter:

smb://fs.ist.ac.at/drives/[username]

Where [username] is your ISTUser.

Now press the “Connect” button, and you will be asked to enter your credentials:

Again enter your [username], change “Domain” to IST, and type in your password. You can use the setting “Remember password until you logout”. No press “Connect”, and you should get your “Drives”:

As you can see, you should see your group-drive, the group archive (also more than one, if you are working in multiple groups) and your home drive.

This works similar for any other server/share at IST Austria. You’ll find the overview of available ones here.

Using the command-line

For mounting from the command-line, the command mount.cifs will be needed, so please make sure it’s installed. If needed, you can install it on Debian/Ubuntu by:

sudo apt install cifs-utils

You need a folder in your home-directory, which will be used to mount the server to. For security reasons, it is highly suggested to put your mount-points below your home-directory!

# This is the "main" folder for your mounts
mkdir /home/[username]/mounts
# Another one for a specific mount-point, e.g. for our "drives"
mkdir /home/[username]/mounts/drives

Now you need to add lines to your /etc/fstab file. This is a system-file, if you are unsure, please contact IT for help!

# This needs to be added to /etc/fstab. 
# First parameter is the share you'd like to mount, e.g. //fs.ist.ac.at/drives/[username] for our "drives"
# Second parameter the folder you just created, e.g. /home/[username]/mounts/drives
# the whole line will is:
//fs.ist.ac.at/drives/[ISTUser] /home/[username]/mounts/drives  cifs  user,noauto,rw,vers=3.0,sec=krb5i,domain=IST  0 0

After you logged in, you should be able to connect to “drives” by typing:

mount /home/[username]/mounts/drives

You need to have a valid Kerberos ticket for this to work, so please ensure to check this with:

klist (it needs to be valid, check the time-stamp)

Or get a new ticket by typing:

kinit [username]@IST.LOCAL

If you have any issues or additional questions, please don’t hesitate to contact us via it@ist.ac.at.

Was this article helpful to you? Yes No

How can we help?