nfs4


nebosa

Recommended Posts

 

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

Link to comment

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 by bonienl
  • Like 1
Link to comment

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 :)

Link to comment
  • 4 months later...

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?


 

 

 

Link to comment
  • 5 weeks later...
  • 5 months later...
  • 1 year later...
  • 1 month later...
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. 

 

Link to comment

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.