Reset Search
 

 

Article

How to mount a remote share on the NetSight Linux Server

« Go Back

Information

 
TitleHow to mount a remote share on the NetSight Linux Server
Objective
How to mount a remote share on the NetSight Linux Server
Environment
Netsight Ubuntu server
Procedure
  1. Edit the /etc/fstab file on the Netsight server system to include the following line:
    //<IP_of_Share>/<ShareName> /<local Mount Point> cifs rw,username=<username>,password=<password>,domain=<domain>,unc=\\\\<IP_of_Share>\\<ShareName> 0 0
  2. run the mountall command
    mountall

 
Additional notes
Note: In the case where the mount works but a zero length backup file is created, a reboot of the NetSight server might be required.


.Here is an example using actual values and the security option:
//10.157.105.36/NetSight_Backup /media/remotebackup cifs rw,username=NetSight_Backup,password=j2T3AVbwx,domain=gbfas02,sec=ntlmssp,unc=\\\\10.157.105.36\\NetSight_Backup 0 0


In order to get this share to remount on boot the local mount point must be in the /media directory. If in the /mnt directory the mountall command will not function normally and the share will not remount on reboot.


Creating a mount on the NS-A-20

If attempting to mount on an NS-A-20 you will need to add the following delay script to the system:
Create a file named "fstab" with the following contents: 
#!/bin/sh
sleep 30
mountall
Add this file into the /etc/network//if-up.d directory and change the permissions using the command:
chmod 777 fstab



More Information:
For more general information on mounting options: https://wiki.ubuntu.com/MountWindowsSharesPermanently
 

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255