nebosa Posted January 19, 2019 Share Posted January 19, 2019 Hello, I only have 10 more days to test .... I need your help. I want to use nfs4 ?! The manual says: Quote NFSv4 support has been included in unRAID 6. You can enable or disable it's use with user shares from this page, as well as adjust the fuse_remember tunable which can help with resolving NFS Stale File Handles error messages. I can not find these settings Can someone explain what I have to do? thx Quote Link to comment
trurl Posted January 19, 2019 Share Posted January 19, 2019 In the webUI, go to Settings. In the Network Services section on that page, click on NFS to get to the NFS settings page. There you can enable NFS and also set that tunable. Quote Link to comment
klamath Posted January 19, 2019 Share Posted January 19, 2019 There is no way to enable NFSv4 server in unraid, almost positive that is a typo or misprint. Quote Link to comment
nebosa Posted January 20, 2019 Author Share Posted January 20, 2019 that means unraid can not nfs4 ? will it come? Quote Link to comment
bonienl Posted January 20, 2019 Share Posted January 20, 2019 (edited) As @trurl explained: Step 1: Go to Settings -> Network Services -> NFS -> Enable NFS = Yes Step 2: Go to each user share -> NFS Security Settings -> Export = Yes By default NFSv3 is enabled. This can be changed by editing the file /etc/nfsmount.conf # Protocol Version [2,3,4] # This defines the default protocol version which will # be used to start the negotiation with the server. Defaultvers=3 # # Setting this option makes it mandatory the server supports the # given version. The mount will fail if the given version is # not support by the server. # Nfsvers=4 # Edited January 20, 2019 by bonienl 1 Quote Link to comment
nebosa Posted January 20, 2019 Author Share Posted January 20, 2019 Great thank you I will try it. and Quote Unraid 6+ Pro Casing: Lian Li PC-A79 • Silverstone FS304 • CoolerMaster V750 PSU System: Supermicro X10SRA-F • Intel Xeon E5-2630 v4 • Samsung 128 GB DDR4 ECC RAM Storage: Adaptec HBA1000-8i • 2x Crucial • 2x Samsung » 500 GB cache • 12x HGST » 100 TB data damn good system Quote Link to comment
nebosa Posted January 20, 2019 Author Share Posted January 20, 2019 How do I change the file /etc/nfsmount.conf from which it survived after a reboot? Please be a beginner. Quote Link to comment
Squid Posted January 20, 2019 Share Posted January 20, 2019 Save a copy of it on the flash drive Then edit /config/go on the flash drive and add this line (probably before the emhttp line) cp /boot/nfsmount.conf /etc/nfsmount.conf 1 Quote Link to comment
nebosa Posted January 20, 2019 Author Share Posted January 20, 2019 13 minutes ago, Squid said: Save a copy of it on the flash drive Then edit /config/go on the flash drive and add this line (probably before the emhttp line) cp /boot/nfsmount.conf /etc/nfsmount.conf Super ! Danke Quote Link to comment
BigChris Posted June 7, 2019 Share Posted June 7, 2019 I try this, and edit the /etc/nfsmount.conf to this: # Protocol Version [2,3,4] # This defines the default protocol version which will # be used to start the negotiation with the server. Defaultvers=3 # # Setting this option makes it mandatory the server supports the # given version. The mount will fail if the given version is # not support by the server. Nfsvers=4 But if i try to mount sudo mount -t nfs -o nfsvers=4 10.10.11.200:/mnt/user/ftp_holz /mnt/nfsv4-test/ I got this: mount.nfs: Protocol not supported What am I doing wrong? Quote Link to comment
Khadgar Posted July 6, 2019 Share Posted July 6, 2019 I am having the same issue as @BigChris. I enabled nfsv4, but if I try to mount as nfsv4 I get the same error saying the protocol isn't supported. Quote Link to comment
DerCarsten Posted December 13, 2019 Share Posted December 13, 2019 By the looks of it, NFS V4 is not implemented, yet. See my work-around. Quote Link to comment
der8ertl Posted August 16, 2021 Share Posted August 16, 2021 i know this is an old topic, but is there any news about nfs 4? i really don't want to run a docker (like in the workaround menationed above) Quote Link to comment
bramabull Posted October 8, 2021 Share Posted October 8, 2021 On 1/20/2019 at 11:42 AM, Squid said: Save a copy of it on the flash drive Then edit /config/go on the flash drive and add this line (probably before the emhttp line) cp /boot/nfsmount.conf /etc/nfsmount.conf I am currently attempting this on unraid 6.9.2 and wondering what I am doing wrong. I have copied over the file to the root of the flash drive, then the /efi/boot folder and even my config folder. with the line added to my config/go I am unable to boot. 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.