How to Mount a SMB Share in Ubuntu

This tip provides the necessary steps to mount a VPSA SMB share using Ubuntu. 

Step 1: Install the CIFS Utils pkg

sudo apt-get install cifs-utils

Step 2: Create a mount point

sudo mkdir /mnt/local_share

Step 3: Mount the volume

sudo mount -t cifs //<vpsa_ip_address>/<export_share> /mnt/<local_share>

You can get the vpsa_ip_address/export_share from your VPSA GUI.  Just remember to change the Windows backslash to Linux forward slashes:




Using NAS Access Control on the VPSA

sudo mount -t cifs -o user=<user on VPSA> //<vpsa_ip_address>/<export_share> /mnt/<local_share>

You will be prompted for password



 Mounting at boot

add to /etc/fstab file:

    //<vpsa_ip_address>/<export_share> cifs user=<user on VPSA>,pass=<passwd on VPSA> 0 0

Have more questions? Submit a request


Please sign in to leave a comment.