You are not logged in.

#1 2023-11-19 16:10:40

mikael
Member
From: Slovakia
Registered: 2011-05-22
Posts: 25
Website

NFS mount not working

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

#2 2023-11-19 16:19:01

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,080

Re: NFS mount not working

Make sure that the Synology actually supports NFSv4, since you're forcing that on the client connection.

Offline

#3 2023-11-19 16:45:59

mikael
Member
From: Slovakia
Registered: 2011-05-22
Posts: 25
Website

Re: NFS mount not working

I set it to NFSv4

QOHdPLh.jpg

Offline

#4 2023-11-19 17:19:56

-thc
Member
Registered: 2017-03-15
Posts: 450

Re: NFS mount not working

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

Board footer

Powered by FluxBB