Mapping or Mounting Your Home Drive in Linux

Note: In order to access your Home Drive from a non-UBC internet connection, you must be connected to the myVPN service first.

Note: What you see on your screen may differ from the illustrations, depending on your distributed version of Linux. The examples below are from Ubuntu
 

Important: Please use the CWL username that gives you access to Workday.

To map your Home Drive, please follow these steps below:

  1. Ensure the cifs-utils package is installed on your system
  2. Open a Terminal session:
    • In Ubuntu Unity, click the Ubuntu logo and type terminal
      Linux Screenshot
    • Or in Gnome, click on Applications > Accessories > Terminal
      Linux Screenshot 

       
  3. /mnt/<foldername> is where you wish to have your Home Drive mounted
    <cwl> - is your CWL username
    <linux_uid> - is the user id of your user on the local Linux system
    <linux_gid> - is the group id of your user on the local Linux system
    Using the Linux uid and gid will allow write access to the mounted directory as the corresponding localuser.  If you are mounting as root, you can skip these parameters.

    In the open Terminal session, enter the following commands

    # First, fetch your UID & GID
    $ id -u
    <linux_uid>
    $ id -g
    <linux_gid>

    # Next, make your mount point
    $ sudo mkdir /mnt/<foldername>

    # Finally, mount your Home Drive

    #UBC V Employees
    $ sudo mount.cifs //files.ubc.ca/<cwl> /mnt/<foldername> -o user=<cwl>,uid=<linux_uid>,gid=<linux_gid>,domain=ead,sec=ntlmssp

    #UBC O Employees
    $ sudo mount.cifs //files.ok.ubc.ca/<cwl> /mnt/<foldername> -o user=<cwl>,uid=<linux_uid>,gid=<linux_gid>,domain=ead,sec=ntlmssp

     
  4. Enter your password at the prompt
  5. If successful, all your Home Drive files will be located in the /mnt/<foldername> on your local machine

Page last updated on April 7, 2025


UBC Crest The official logo of the University of British Columbia. Urgent Message An exclamation mark in a speech bubble. Bluesky The logo for the Bluesky social media service. Bookmark A bookmark in a book. Browser A web browser window. Caret An arrowhead indicating direction. Arrow An arrow indicating direction. Arrow in Circle An arrow indicating direction. Arrow in Circle An arrow indicating direction. Time A clock. Chats Two speech clouds. E-commerce Cart A shopping cart. Facebook The logo for the Facebook social media service. Help A question mark in a circle. Home A house in silhouette. Information The letter 'i' in a circle. Instagram The logo for the Instagram social media service. Linkedin The logo for the LinkedIn social media service. Location Pin A map location pin. Mail An envelope. Menu Three horizontal lines indicating a menu. Minus A minus sign. Pencil A pencil indicating that this is editable. Telephone An antique telephone. Play A media play button. Plus A plus symbol indicating more or the ability to add. Search A magnifying glass. Settings A single gear. Arrow indicating share action A directional arrow. Speech Bubble A speech bubble. Star An outline of a star. Twitter / X The logo for the X (aka, Twitter) social media service. User A silhouette of a person. Vimeo The logo for the Vimeo video sharing service. Youtube The logo for the YouTube video sharing service.