With this version that has nfs4 enabled in the kernel, I was able mount all my mount points with version 4 instead of version 3.
To enable nfs4 I made no changes on the Unraid side (other than just upgrading to 6.10.0-rc2d).
I use systemd to mount my unraid nfs shares. For each of my .mount files, I simply changed
Type=nfs
to
Type=nfs4
I then rebooted to see everything automount as expected.
I also manually mounted a share with the following command
sudo mount -t nfs4 -o proto=tcp,port=2049 x.x.x.x:/mnt/user/BookLibrary /mnt/ADrive
I checked the output of nfsstat -m to verify:
❯ nfsstat -m
/nfs_mnt/AtlasBackups from x.x.x.x:/mnt/user/AtlasBackups
Flags: rw,noatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
/nfs_mnt/AtlasMedia from x.x.x.x:/mnt/user/AtlasMedia
Flags: rw,noatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
/nfs_mnt/GameUtils from x.x.x.x:/mnt/user/GameUtils
Flags: rw,noatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
/nfs_mnt/syslog_share from x.x.x.x:/mnt/user/syslog_share
Flags: rw,noatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
/nfs_mnt/GamesStorage from x.x.x.x:/mnt/user/GamesStorage
Flags: rw,noatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
/nfs_mnt/unsorted from x.x.x.x:/mnt/user/unsorted
Flags: rw,noatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
/mnt/ADrive from x.x.x.x:/mnt/user/BookLibrary
Flags: rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.3,local_lock=none,addr=x.x.x.x
So it looks like it mounted ok. Everything on my Manjaro linux desktop that uses those mounts at least starts ok. I'll do some more rigorous testing over the weekend but right now I'm running a backup and having Steam install a game to see how things shake out. So far so good though, fingers crossed!
-Greg
- 4
- 2
Recommended Comments
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.