To use the central disk space you must connect to the network drives to which you have access. You need to mount your network drives.
When a network drive is mounted, you will see the drive letter and/or disk name associated with the disk space in the (Windows) Explorer or (Mac) Finder. You can then open files or save them on the network drive.
A number of network drives are mounted automatically on the Athena platform and all PCs that have joined the Active Directory domain.
ⓘ You will have to add new network drives.
Tip: first check if your network drives are mounted automatically.
The network shares use SMB version 3.1.1
On outdated PCs this might not work.
Consult this
overview of Windows versions and their SMB support.
Note: the pc must be connected correctly to UGentNet. This means that — if you are outside UGentNet — you first need to set up a VPN connection.
While mounting you need to assign a (drive letter) to the network disk.
A number of drive letters is reserved.
You should not use these.
Following drive letters are
reserved:
A, B, C, H, S, W, X, Y and Z.
Drive letter | Network disk |
---|---|
In the drive mappings below, replace jpeeters with your own UGent username. |
|
H: | for your home drive, your personal disk; is attached automatically on Athena and all PCs which joined the Active Directory domain. Drive mapping is: \\files.ugent.be\jpeeters\home
|
S: | only for UGent staff: access to all your
shares at one point; is attached automatically on Athena and all PCs which joined the Active Directory domain. Drive mapping is: \\files.ugent.be\jpeeters\shares
|
W: | for your personal webspace and webshares Drive mapping is: \\files.ugent.be\jpeeters\www
|
\\files.ugent.be\jpeeters\
in
and confirm with OK.ugent.be\
before your username,
e.g. ugent.be\jpeeters
Note: In the drive mappings below, replace jpeeters
with your own UGent username.
Note: the pc must be connected correctly to UGentNet. This means that — if you are outside UGentNet — you first need to set up a VPN connection.
Mac OS X does not use drive letters but uses drive names to refer to a mounted network drive.
Use this method to reach your network drives:
Click in Finder op Go < Connect to server
and enter this:
smb://UGENT\jpeeters@files.ugent.be/jpeeters
Note: In the drive mappings below, replace jpeeters
with your own UGent username.
The shares use SMB version 3.1.1.
On some outdated installations this might not work.
Linux kernels older than version 4.17
(see
Linux kernel version history)
have a bug which causes errors while mounting SMB drives.
Check your kernel version and keep your system up-to-date.
Note: the computer must be connected to UGentNet. If you are outside UGentNet you need to activate VPN first.
The command smbclient
gives you a temporary ftp-like access
to a network share.
Add the parameter -m smb3
.
E.g.:
smbclient -U UGENT/jpeeters //files.ugent.be/jpeeters -m
smb3
Once you entered the command you'll be asked the password.
Make sure to add following options (e.g. in /etc/fstab):
vers=3.11
and echo_interval=5
.
Consult the man page for mount.cifs
.
Note: to use DFS links you need both a recent version of cifs-utils and keyutils.
First make the mountpoint (this needs sudo):
$ sudo mkdir -p /mnt/<sharename>/
Make a file with your (or those of a systemuser) UGent
credentials:
$ mkdir -p /home/<local_username>/.credentials/
$ touch /home/<local_username>/.credentials/ugentcredentials
ⓘ Protect that folder and file:
chmod -R go-rwx /home/<local_username>/.credentials/
Add these lines to the ugentcredentials file
(use nano, vi or another texteditor):
user=jpeeters
ⓘ All the data in this file are case-sensitive.
pass=<ugent_password>
dom=UGENT
Add a line to the /etc/fstab
file (sudo needed):
//files.ugent.be/jpeeters/shares/<sharename>
/mnt/<sharename> cifs
credentials=/home/<local_username>/.credentials/ugentcredentials,noperm,vers=3.11,sec=ntlmv2i
0 0
First make a mountpoint and credentials file as described above.
Make a separate credentials file for each account.
Add a line to the /etc/fstab
file:
//files.ugent.be/jpeeters/www/shares/<sharename>
/mnt/<sharename> cifs
credentials=/home/<local_username>/.credentials/ugentcredentials,noperm,vers=3.11,sec=ntlmv2i
0 0
First make a mountpoint and credentials file as described above.
Make a separate credentials file for each account.
Add a line to the /etc/fstab
file:
//files.ugent.be/jpeeters/www/
/mnt/<sharename> cifs
credentials=/home/<local_username>/.credentials/ugentcredentials,noperm,vers=3.11,sec=ntlmv2i
0 0