September 13, 20232 yr Hello, I've been trying for a while to mount a nfs drive on another server using nfs v4.2. And everytime, it fallsback to v4.0. This is really strange since the NFS server configured by Unraid has no issue talking in the v4.2 protocol. Example of mount command: root@Tower:~# mount -vvvv dolma:/Backs-Movies /tmp/test/ mount.nfs: timeout set for Tue Sep 12 21:01:32 2023 mount.nfs: trying text-based options 'vers=4.2,addr=192.168.42.12,clientaddr=192.168.42.57' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'vers=4,minorversion=1,addr=192.168.42.12,clientaddr=192.168.42.57' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'vers=4,addr=192.168.42.12,clientaddr=192.168.42.57' dolma:/Backs-Movies on /tmp/test type nfs (rw) I also tried with another server that I just configured nfs on, completly clean with Raspbian Bookworms. root@Tower:~# mount -vvvv vpn-mgt:/srv/test /tmp/test/ mount.nfs: timeout set for Tue Sep 12 21:14:18 2023 mount.nfs: trying text-based options 'vers=4.2,addr=192.168.42.8,clientaddr=192.168.42.57' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'vers=4,minorversion=1,addr=192.168.42.8,clientaddr=192.168.42.57' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'vers=4,addr=192.168.42.8,clientaddr=192.168.42.57' vpn-mgt:/srv/test on /tmp/test type nfs (rw,noatime) And if I mount the same share from other machine, no issue using the v4.2 protocol. I'm at a loss, I don't understand why Unraid can't use that protocol for NFS mounts. Edited September 13, 20232 yr by Balor
September 13, 20232 yr Community Expert You should post this in the Unassigned Devices support thread as it that plugin that handles remote mounts, not the core Unraid system.
September 13, 20232 yr Author @itimpiI'm not using Unassigned devices, I'm using good old mount command. The /etc/nfsmount.conf is as it was setup by Unraid 6.12.4. I'm using docker container with volume that are on NFS drive, I prefer this than having to rely on UD to make the mount point in time for the docker container to use. The version supported by NFS on Unraid is the responsability of LimeTech since those are either kernel config or package configuration.
September 13, 20232 yr Author I check with @dlandon and he came to same conclusion as me. The NFS Client of Unraid doesn't supports 4.1 and 4.2 only 3.0 and 4.0. I think that's a bug.
September 13, 20232 yr 25 minutes ago, Balor said: I check with @dlandon and he came to same conclusion as me. The NFS Client of Unraid doesn't supports 4.1 and 4.2 only 3.0 and 4.0. I think that's a bug. Probably more of an oversight, than a bug.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.