Shared Disk on Linux
Prerequisites
This guide covers Debian, Ubuntu, and other derivatives.
Configuration
Graphical Method (Easiest)
Install Packages
Open Terminal and run:
sudo apt install gvfs-backends smbclient cifs-utilsApply Changes
Restart your computer or log out and log back in to ensure plugins are loaded.
Connect via File Manager
Open your File Manager (Nautilus, Dolphin, etc.).
Go to Other Locations.
In the Connect to Server bar (usually at the bottom), enter:
smb://win-zet.pjwstk.edu.pl/Users/sXXXXX(Replace
sXXXXXwith your student ID)

Authenticate
Log in with:
- Username:
sXXXXX - Domain:
PJWSTK(if asked) - Password: Your student password

Terminal (One-time Mount)
Create Directory
Create a folder where the drive will be mounted:
mkdir ~/ZMount Drive
Run the mount command (one line):
sudo mount -t cifs -o username=sXXXXX,domain=PJWSTK,uid=$(id -u),gid=$(id -g) //win-zet.pjwstk.edu.pl/Users/sXXXXX ~/Z(Replace sXXXXX with your ID)
Unmount
When finished, unmount the drive:
sudo umount ~/ZTerminal (Automatic Mount)
Edit Fstab
Open the filesystem table file:
sudo nano /etc/fstab/etc/fstab can prevent your system from booting properly. Verify your syntax carefully.Add Configuration
Add this line at the end (replace sXXXXX with your ID):
//win-zet.pjwstk.edu.pl/Users/sXXXXX /home/sXXXXX/Z cifs username=sXXXXX,domain=PJWSTK,uid=1000,gid=1000 0 0(Note: Verify your uid/gid with id command if not 1000)
Verify
Save (Ctrl+O) and exit (Ctrl+X). Then test:
sudo mount -aIf no errors appear, the configuration is correct.
Troubleshooting
Common Issues
- Access Denied: Verify your VPN is connected (green lock icon).
- Wrong Password: Ensure your PJATK account is not locked.
- Protocol Error: Some older distros might need
vers=3.0added to the mount options.