NFS mount to Synology share
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
NFS mount to Synology share
Hi,
I am a new user of linux mint (from windows 10). I have been using mint for just a few days. I am trying to mount a shared drive on my synology nas but it fails with "access denied by server". This is the command I am using: sudo mount 192.168.0.100:/volume1/shared /data
I would be grateful for any help to solve this.
Thank, Alan
I am a new user of linux mint (from windows 10). I have been using mint for just a few days. I am trying to mount a shared drive on my synology nas but it fails with "access denied by server". This is the command I am using: sudo mount 192.168.0.100:/volume1/shared /data
I would be grateful for any help to solve this.
Thank, Alan
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: NFS mount to Synology share
what's the share configuration (you can find it in
/etc/exports
) on the NFS server side?Re: NFS mount to Synology share
Share configuration? I am a complete newbie to mint. From your question, it looks like i have missed something important.
Re: NFS mount to Synology share
Note that it can also be a simple matter of needing
sudo apt-get install nfs-client
on the Mint system; with the correct RPC daemons not running, NFS tends to give nonuseful error messages.Re: NFS mount to Synology share
I tried to install nfs-client - got this as a result
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'nfs-common' instead of 'nfs-client'
nfs-common is already the newest version (1:1.3.4-2.5ubuntu3.4).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'nfs-common' instead of 'nfs-client'
nfs-common is already the newest version (1:1.3.4-2.5ubuntu3.4).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade
Re: NFS mount to Synology share
Thanks for the replies so far. Can anyone suggest anywhere I can do more reading/learn more about NFS shares to help me resolve this?
Thanks in advance for any help,
Alan
Thanks in advance for any help,
Alan
Re: NFS mount to Synology share
PM me with an email addy and I'll send you a pdf 'how-to' that I wrote for someone else.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: NFS mount to Synology share
Add the following to the fstab located in /etc
//<I.P Address of NAS>/<SHARE FOLDER/ /mnt/<SHARE FOLDER>/ cifs username=User,password=password,_netdev,iocharset=utf8 0 0
eg of it
//192.168.1.3/DS418j/ /mnt/DS418j/ cifs username=User,password=password,_netdev,iocharset=utf8 0 0
I have reserved the IP address 192.168.1.3 to my NAS so if their is a power failure or the Router is disconnected when power is restored the NAS uses the same IP address so scripts have to be changed
My NAS is a Synology DS418j, when I created it I made share folder with that name
I mount in /mnt and I make a folder in /mnt with DS418j, mainly so I know what that folder is for.
//<I.P Address of NAS>/<SHARE FOLDER/ /mnt/<SHARE FOLDER>/ cifs username=<passwordhere>,_netdev,iocharset=utf8 0 0
Once you've added the line into the fstab and added the correct details(IP address, Share folder, Mount Point, Username and Password), typing in sudo mount -a in the terminal will mount the NAS and it should be accessible.
On boot, it will mount unless it is a laptop as fstab mounting happens before WiFi connections.
//<I.P Address of NAS>/<SHARE FOLDER/ /mnt/<SHARE FOLDER>/ cifs username=User,password=password,_netdev,iocharset=utf8 0 0
eg of it
//192.168.1.3/DS418j/ /mnt/DS418j/ cifs username=User,password=password,_netdev,iocharset=utf8 0 0
I have reserved the IP address 192.168.1.3 to my NAS so if their is a power failure or the Router is disconnected when power is restored the NAS uses the same IP address so scripts have to be changed
My NAS is a Synology DS418j, when I created it I made share folder with that name
I mount in /mnt and I make a folder in /mnt with DS418j, mainly so I know what that folder is for.
//<I.P Address of NAS>/<SHARE FOLDER/ /mnt/<SHARE FOLDER>/ cifs username=<passwordhere>,_netdev,iocharset=utf8 0 0
Once you've added the line into the fstab and added the correct details(IP address, Share folder, Mount Point, Username and Password), typing in sudo mount -a in the terminal will mount the NAS and it should be accessible.
On boot, it will mount unless it is a laptop as fstab mounting happens before WiFi connections.
PC: Intel i5 6600K @4.5Ghz, 1TB NVMe SSD, 32GiB 3000Mhz DDR4, GTX1080 running Mint 21.3
Laptop: Asus UM425UAZ running LMDE 6
Laptop: Asus UM425UAZ running LMDE 6
Re: NFS mount to Synology share
Code: Select all
showmount -e [IP from NAS]
Re: NFS mount to Synology share
The OP is asking about an NFS mount, not CIFS.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
-
- Level 1
- Posts: 3
- Joined: Sun Jan 28, 2018 1:34 pm
Re: NFS mount to Synology share
Alan: It should bealan wrote: ⤴Sun Sep 19, 2021 10:43 am Hi,
I am a new user of linux mint (from windows 10). I have been using mint for just a few days. I am trying to mount a shared drive on my synology nas but it fails with "access denied by server". This is the command I am using: sudo mount 192.168.0.100:/volume1/shared /data
I would be grateful for any help to solve this.
Thank, Alan
sudo mount -t nfs4 192.168.0.100:/volume1/shared /data /mnt/synology