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 GUI (Graphical User Interface)

This is the easier way, and also the default configuration for managed devices. (The following screenshots have been taken running the desktop-environment “MATE”, if you run a different environment the windows may look a bit different.)

In your file manager go to “Locations” or “Places” and click “Connect to Server…”:

The following (or similar) window opens:

Here you’ve to choose the correct protocol (“Windows share”, could also be Samba/Cifs)

Servername: fs.ist.ac.at

Shares are either your [ISTUser] (e.g. flastname) or your group (e.g. somegrp). If you add a bookmark, you just click on the bookmark name and the share will open.

For IST devices, such bookmarks have been pre-created for you, you only need to click such bookmark and access your desired share. Also, you should not be asked for a password – please contact us otherwise.

Using the command-line

The command-line option has the advantage, that the share is not different from any other mounted device.

For mounting from the command-line, the command mount.cifs will be used, 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, e.g.:

mkdir sudo /media/fs/drives (or /fs/drives)

Of course, you can also create a folder for every share you want to mount. (e.g. fs_home, fs_group, archive_group,…). Mounting is simple, just enter:

sudo mount.cifs //fs.ist.ac.at/drives/[ISTUser] [local_mountpoint] -o dom=IST,user=[ISTUser],uid=[your_local_uid],file_mode=0600,dir_mode=0700
  • [ISTUser] … your Username
  • [local_mountpoint] … where to mount the share to (e.g. /media/fs3_home)
  • [your_local_uid] … your local userid, you can get it by: getent passwd [ISTUser]
  • file_mode=0600,dir_mode=0700 … makes sure only your user (userid) has access to the files if you’re on a multi-user system.

Adding the mount into /etc/fstab for persistence

You can put the lines below into /etc/fstab, so you can just mount the shares by executing the following in a terminal window after you logged in. You need to have a valid Kerberos (klist) for this to work.

mount /path/to/share (eg. mount /fs/drives)

after you logged in.

## IST network shares
#//fs.ist.ac.at/drives/[ISTUser] /fs/drives  cifs  user,noauto,rw,vers=3.0,sec=krb5i,domain=IST  0 0

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?