Balor Posted September 13, 2023 Share Posted September 13, 2023 (edited) 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, 2023 by Balor Quote Link to comment
itimpi Posted September 13, 2023 Share Posted September 13, 2023 You should post this in the Unassigned Devices support thread as it that plugin that handles remote mounts, not the core Unraid system. Quote Link to comment
Balor Posted September 13, 2023 Author Share Posted September 13, 2023 @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. Quote Link to comment
Balor Posted September 13, 2023 Author Share Posted September 13, 2023 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. Quote Link to comment
dlandon Posted September 13, 2023 Share Posted September 13, 2023 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. 1 Quote Link to comment
Solution Balor Posted December 5, 2023 Author Solution Share Posted December 5, 2023 Fixed in 6.12.5 (and 6.12.6) Quote Link to comment
Recommended Posts
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.