Q: How do I mount/map a CIFS/SMB/SAMBA/Windows share/shared folder on my XigmaNAS server?
A: First make sure all hosts/clients are communicating properly on your network. Then you need to create a mount point on the XigmaNAS server using the CLI, WebGUI Tab> Advanced|Execute command , SSH or console shell to execute the following:
mkdir /mnt/YourShareName
You could also use Quixplorer (Advanced|File Manager) if you are unfamiliar with the other interfaces.
Then you mount the remote share with this command:
mount_smbfs //RemoteUserName@RemoteServerName /mnt/YourShareName
You will be prompted for the user's password, enter the correct one and the remote shared files & folders should now appear in the /mnt/YourShareName directory/mount point you created. Would you like to do that without having to enter a password? Here's how:
nano ~/.nsmbrc
[default]
domain=Your Windows/SAMBA Domain or Workgroup name.
[RemoteServerName]
addr=RemoteServer IP Address
[RemoteServerName:RemoteServerUserName]
password=RemoteUserPassword
^X
Y
References:
Advanced | Scripts and shell tips | ⇒9.0.0.1 |