Mounting Home Directory on a Linux Operating System

Mounting Home Directory on a Linux Operating System

Please note that this article is customized for self-managed Ubuntu-based Linux operating systems. If you use a self-managed RPM-based (RedHat, CentOS, etc.) distro, use the 'yum' package installer instead of 'apt'. (Example: sudo yum install cifs-utils)

Install cifs-utils Package

The first step in mounting your home directory folder on Linux is to install the cifs-utils package

 

Note: It is best practice to ensure your operating system and applications are up to date before attempting this. If you have a specific reason for not wanting to upgrade the operating system and applications, you can skip this prerequisite step. Otherwise, you can update the operating system and applications with the following commands:

sudo apt update

sudo apt upgrade

 

1.       Open a new Terminal window and enter the following command:

 

sudo apt install cifs-utils

 

2.       Follow the on-screen prompts to complete the installation

 

Mounting the Home Directory Folder

1.       Create a location that the share can be mounted to. In this example we used /mnt/share

sudo mkdir /mnt/share

 

2.       Mount the share using your home directory path with the command below. If you aren't sure what your home directory path is, please reach out to ECN via: https://engineering.purdue.edu/ECN/AboutUs/ContactUs

sudo mount -t cifs //server.ecn.purdue.edu/username /mnt/share --verbose -o user=USERNAME

 

* Replace 'server' with your ECN home directory server name, and replace the 'username' portion with your Purdue career account username. (Example: //pier.ecn.purdue.edu/john123).

* Also, replace 'USERNAME' in the 'user=USERNAME' portion of the command with your Purdue career account username. (Example:  user=john123)

 

Note: The above command is all one line. There is a ‘space’ in between //server.ecn.purdue.edu/username and /mnt/share.

 

3.       Enter your Purdue career account password when prompted. Your home directory folder should now be mounted. Now, change the directory to your mount location (i.e. /mnt/share) with the following command:

cd /mnt/share

 

* Alternatively, you can view the mounted directory with your operating system's File Manager application.

 

 

Last modified: 2022/02/28 08:22:8.223483 US/Eastern by joshua.l.remender.1
Created: 2022/02/25 14:11:30.698402 US/Eastern by joshua.l.remender.1.

Categories

Search the Knowledge Base

Include:

Quick search results

    Admin Options: Edit this Document