Jump to content

Unraid (6.12.4) not supporting mounting NFS v4.x


Balor
Go to solution Solved by Balor,

Recommended Posts

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 by Balor
Link to comment
  • Balor changed the title to Unraid (6.12.4) not supporting mounting NFS v4.x

@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.

Link to comment
  • 2 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...