You are not logged in.
Pages: 1
Hi, I'm trying to make NFS work on Synology DS923+
root:~/ # cat /etc/exports
/volume1/Backup 192.168.2.6(rw,sync,no_wdelay,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100)
On client I have in /etc/fstab
192.168.2.10:/volume1/Backup /mnt/nfs/nas/Backup nfs _netdev,noauto,x-systemd.automount,vers=4,x-systemd.mount-timeout=10,rsize=8192,wsize=8192,x-systemd.idle-timeout=1min 0 0
and when mounting I see
$ sudo mount -vvv /mnt/nfs/nas/Backup
mount.nfs: timeout set for Sun Nov 19 17:06:37 2023
mount.nfs: trying text-based options 'rsize=8192,wsize=8192,vers=4.2,addr=192.168.2.10,clientaddr=192.168.2.6'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'rsize=8192,wsize=8192,vers=4,minorversion=1,addr=192.168.2.10,clientaddr=192.168.2.6'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'rsize=8192,wsize=8192,vers=4,addr=192.168.2.10,clientaddr=192.168.2.6'
Mounts with following works on other computer.
/media 192.168.2.8(rw,sync,crossmnt,no_subtree_check)
Don't know why Synology is preventing the connection
Offline
Make sure that the Synology actually supports NFSv4, since you're forcing that on the client connection.
Offline
I set it to NFSv4
Offline
Beginning with the update to DSM 7.x Synology's NFS only supports protocol "4.0".
Earlier versions of DSM (6.2.x) did support 4.1 and possibly 4.2.
Offline
Maybe It helps you, when you're comparing it with my fstab entry:
192.168.1.101:/volume1/files /mnt/nfs/nas/files nfs _netdev,noauto,sec=sys,x-systemd.automount,vers=4,x-systemd.mount-timeout=2s,timeo=14,x-systemd.idle-timeout=30s,x-systemd.requires=network-online.target 0 0
And next point are in the synology DSM.
In shared folders, you have to edit the folder you want share. You need to add the IP or set the IP range of your PC in the NFS rights.
For me it looks like there:
IP "192.168.1.*"
Read/Write,
No Squash,
Safety I have "sys" (I need the SYSTEM user add in the Filestation, see below. Otherwise root-to-admin should always work),
Asynchron is "activated",
Ports >1024 is set to allowed,
and user are allowed for sub-folders.
Additionally, I don't know if it is necessary...in my DSM7-filestation, I added the main folders an user/group with the name "SYSTEM" with read/write rights.
And check also, if you have the firewall, if you have one configured.
By the way...How did you add a screenshot into the post?
Offline
Pages: 1