Some Time ago I wanted to mount my Synology NAS to my Ubuntu machine. So I started to search around for an easy way to do so. As I could not really find something that worked I decided to make this small guide.
What you need:
- a Ubuntu (Server) machine
- root privileges
- a Synology NAS
1: Enable NFS
First of all you need to enable the NFS File Service. Therefor, go to "Control Panel" there navigate to "File Services" and check "Enable NFS".
You also need to make shure, that your user has access to NFS.
2: Set the mountpoint
The second thing you wanna do is to tell Ubuntu where the NAS is and where is shall be mounted to.
Therefore open the terminal and use the following commands:
sudo nano /etc/fstab
In this file add the following command (you need to fill in your IPadress, your shared Folder, the Path, where you want to mount the NAS (needs to be an empty folder), your username and your password)
//ipadress/share /path/to/mount cifs username=youruser,password=yourpassword,vers=1.0,uid=1000,gid=1000 0 0
It could look like this:
//192.168.178.57/music /home/dorian/Music cifs username=dorian,password=passwordhere,vers=1.0,uid=1000,gid=1000 0 0
If you look into that folder now, you should see all the data, that is stored in your network share.
I hope this helps you.