Help for add and remove a remote share
With the release 15.2, the menu is improved and it is now no longer kept in experimental phase.
With this menu, you can :
· Add a windows shared folder or any samba share on remote hosts
(with login and password)
· Add a NFS share on a remote host
NFS is most of the time used by computers running Linux
· Remove previous mountings of remote shares
· Set boot status for each remote share
· Try to remount a remote share that failed to mount previously
· Refresh the remote known host
A. Add a remote share
Select
the option "Samba Access" or "NFS access" dependent on what
kind of remote server you ant to connect to. Windows is using Samba for
shared
folders.
· Remote host
Select
the wanted remote host in the combobox
Or
Enter the IP address with the pattern as given in the example
(xxx.yyy.zzz.nnn) if you don't find the wanted Host
· Remote share
In
the second combobox select the wanted share
or Enter the name of the remote share used by the server.
For
samba server this will be the shared folder name.
For NFS servers it is the folder name and the path, just as it is set
in the
exports file of the nfs server.
Note that Linux uses case sensitive folder names. So a folder with name
"test" is not the same as "Test".
The Windows operating system does not use this difference and this can
cause
confusion.
· Login and password
This is only required for samba servers, If the remote share is a public share without login, use any account known by the remote machine or just fill in what you like.
Note: with some Windows shares (using advanced sharing settings) or on MAC OS (shares like capsule Time Machine may use additional security mechanism), these shares are listed only if you use valid credentials. So after entering a valid login and password, click again on the samba radio control to update the remote shares list.
Click
on
the button "Create a Remote Share" to mount the remote share in the
NAS.
If the mounting (making connection with) the remote share succeeded it will become visible in the backup menu without any errors.
The
name
will be the ip-address followed by nfs or smb dependent on which server
you
selected en then followed by the folder name (for nfs also the path).
In the
ip-adress dots "." are used as separators and for the rest
"-" character. If you are a non admin user, your login is also added.
Examples:
Admin user :
A samba share with name "test" on a server with ip address 192.168.1.100 will be visible as "192.168.1.100-smb-test"
An
nfs
share with name "/share/1000/user/piet/test" on a server with ip
address
192.168.1.100
will be visible as "192.168.1.100-nfs-user 2-test (2 is the folder
level of test relative to share 'user')"
Non admin user (username as login used) :
A samba share with name "test" on a server with ip address 192.168.1.100 will be visible as "192.168.1.100-smb#username-test"
An
nfs
share with name "/share/1000/user/piet/test"
on a server with ip address
192.168.1.100
will be visible as "192.168.1.100-nfs#username-user-2-test"
B. Remote shares management
At the bottom of the menu, a table lists the remote shares active on the NAS. if you aren't the admin user, you can unmount only your remote shares.
For each remote share, you find 2 (or 3) links :
'Link Yes/No' in the 'At next booting' column : to restore or not the remote share at the next booting
'Remove' to unmount definitively the remote share
'Mount' to try to mount a remote share that is not currently mounted : this can happen if the remote server (NFS or samba) is not running when the NAS is booting
If you want to check periodically if the remote shares are still mounted, you can use cron with this job :
It has no (or little) use to show them in the smb server of the NAS as you can access them directly on the remote host using you PC. If you modify the firmware to make them visible in the samba server of the NAS then be aware of the risk of deleting all data on the remote host when deleting it using the File share management menu of the web interface.