Accessing your N Drive from Linux

It is assumed that you will be familiar with using the command-line in order to set up the N drive connection. Once connected you will be able to navigate the N drive both from the terminal or using the file browser in your GUI. You will need to connect to the VPN first.

Configure the connection

Ensure that you enter the commands precisely. These instructions have been tested on CentOS 7, Ubuntu 17.04 and Ubuntu 17.10.

Connect your N drive
  1. Connect to the VPN.
  2. Visit the Find my N drive tool and look up your account. Copy the server path under N DRIVE LINUX e.g. //su1.uni.ds.port.ac.uk/uh/up668466 N drive network addresses
  3. Open a terminal (ensure you are a superuser e.g. root, or use the sudo prefix). The super user command entered in the terminal
  4. Create a mount point, substituting $username with your computer account username:
    mkdir /mnt/$username
    e.g.
    mkdir /mnt/up668466 The mount point command entered in the terminal
  5. Mount the N drive to the mount point you just created. Ensure you use lowercase, replace $username with your username and $server with the server path found earlier.
    mount -t cifs $server -o username=$username,rw,sec=ntlmssp,vers=3.0 /mnt/$username
    e.g.
    mount -t cifs //su1.uni.ds.port.ac.uk/uh/up668466 -o username=up668466,rw,sec=ntlmssp,vers=3.0 /mnt/up668466 The commands for mounting the N drive to the mount point entered in the terminal
  6. Enter your computer account password when prompted. The request for the network password displayed on the terminal
  7. Your N drive will now be connected. If you prefer to browse your N drive from the GUI navigate to the mnt folder. The N drive displayed as a folder
Disconnect your N drive

To disconnect your N drive:
umount /mnt/$username
e.g.
umount /mnt/up668466 The disconnect command entered in the terminal


For help regarding this article contact IT Support.