SUMMARY
How to Add/Protect a Synology NFS Share
ISSUE
Unable to add a NAS NFS Protected Asset from a Synology NAS Device
RESOLUTION
You will need to ensure that you have both enabled the NFS Service on the NAS, and configured NFS Permissions on each share. The user you supply to Unitrends must have full Read and Write permissions.
Once completed, you can add the NAS share via NFS in the user interface. Refer to our admin guide for step by step instructions for adding a NAS/NFS client
- HTML5 /ui/ Web Admin Interface (current): http://www.unitrends.com/documents/rs-ueb-admin-guide/#satori/managing_protected_assets.htm#To_add_a_NAS_CIFS/NFS_asset
TASKS
To perform the above follow the steps outlined in the following Synology KB:
Synology DiskStation Manager NFS Service
How to access files on Synology NAS within the local network (NFS)
- You must first enable NFS. The checkbox for the setting can be found under:
Control Panel → File Services → Win/Mac/NFS → NFS Service → Enable NFS
Control Panel → File Services → SMB/AFP/NFS → Enable NFS - Create/Edit a Shared Folder to Add NFS Permissions. If this is not done, you will not see any items to connect to and your attempts to connect will fail. Permissions for each directory need to include:
Read/Write, Squash (No Mapping), Asynchronous (Yes), Non-privileged port (Denied), Cross-mount (Denied)
Once the steps above have been completed, you can confirm the NFS service running using the Unitrends appliance's SSH Command Line Interface.
-
rpcinfo -p <server ip> (ex. rpcinfo -p 10.11.12.13)
SSH to the DPU and run the following command:
The output should show you that NFS is running on 2049 via UDP
example output:
program vers proto port service
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs - You can use showmount to determine what shares are being advertised via NFS
showmount -e <server ip> (ex. showmount -e 10.11.12.13)
Export list for 10.11.12.13:
/mnt/md0/eyes *
/mnt/md0/BCTisNAS *
/mnt/md0/Pictures *
For some Synology systrems (as well as other models of NAS) you may also need to follow the steps in this KB: NFS share fails to mount in UI, but mounts on back-end.