Questions tagged [nfs4]

Network File System version 4 (NFSv4)

NFS Version 4 (RFC 3010, December 2000; revised in RFC 3530, April 2003), influenced by AFS and CIFS, includes performance improvements, mandates strong security, ACLs, locking and introduces a stateful protocol. Version 4 became the first version developed with the Internet Engineering Task Force (IETF) after Sun Micro systems handed over the development of the NFS protocols.

NFS version 4 minor version 1 (NFSv4.1) has been approved by the IETF and received an RFC number 5661 since Jan 2010. The NFSv4.1 specification aims:

To provide protocol support to take advantage of clustered server deployments including the ability to provide scalable parallel access to files distributed among multiple servers (pNFS extension). to provide sessions and Exacely One Semantic (EOS)

269 questions
2
votes
2 answers

How to mount with uid and gid using NFS?

I would like to mount an AWS EFS location with the efs driver which internaly uses nfs. Now the question is: How do I automatically mount a location with specific uid and gid? With sshfs e.g. I would just define uid, gid as mount options, but it's…
Aley
  • 209
  • 2
  • 4
  • 16
2
votes
1 answer

NFSv4 hangs on mount

NFS mount commands hangs on client indefinitely after server reboot. I am running this command : mount -t nfs -v 10.17.25.27:/DATA/projects/assets-db/log-apache test My NFS server is : 10.17.25.27, the client IP is 10.17.25.152 I have enabled syslog…
jobou
  • 193
  • 2
  • 6
2
votes
1 answer

NFS mount Permission denied

I created a user and a group with the same uid and gid on the NFS server and the NFS client side. The export on the server side looks like this: /volume1/nextcloud …
TiMESPLiNTER
  • 121
  • 1
  • 1
  • 5
2
votes
1 answer

How do I use /etc/export.d/?

How do I use /etc/export.d/ to export filesystems? I am attempting to export an sge cell's configuration via nfs. However, the export does not appear to work. # cat /etc/exports.d/sge-example.com /opt/sge/example.com 192.0.2.0/24(ro) # exportfs…
84104
  • 12,905
  • 6
  • 45
  • 76
2
votes
1 answer

RHEL6 NFSv4 client acting like NFSv3?

My understanding is NFSv4 clients should immediately connect to the NFSv4 service on the server, skipping the rpcbind portmapper and mountd service interactions entirely, but I'm seeing my RHEL6 client always first contacting the rpcbind service to…
Clay
  • 31
  • 4
2
votes
0 answers

QNAP NFSv4 user mapping ubuntu

I'm unable to map client username to server username when I mount a QNAP storage on Ubuntu client with NFSv4 (I don't want to use the UID correspondence). In my case neither the UID and the username are equal in both the client and the…
2
votes
2 answers

RedHat Server 7.3 trying to mount nfs share using NFS4

I am trying to mount a share located on Server1 using NFSv4, instead of NFSv3. The host server is running RHEL 5.1 (don't ask), and the client is running RHEL 7.3. I am able to mount it using NFSv3 without problems, but I am doing a ton of file…
Cliff
  • 171
  • 1
  • 7
2
votes
1 answer

NFSv4 + SSSD + Active Directory: 'nobody' permissions when ldap_id_mapping disabled

I'm attempting to configure NFSv4 with KRB5 authentication in accordance with RedHat's current recommendations, using SSSD to access Active Directory. The NFS server in this case is a NAS appliance, which handles user mapping between user@domain…
JimNim
  • 2,776
  • 13
  • 24
2
votes
0 answers

OpenLDAP TLS : ldap_modify error 80

I am trying to configure TLS on my LDAP server. I have two computer, one with the LDAP server and another with an NFS share containing the Let's Encrypt generated certificates. I want the first one to be able to read the certificates in the NFS…
dblouis
  • 153
  • 1
  • 9
2
votes
0 answers

rpc.mountd[pid]: /xxx and /yyy have same filehandle for host, using first

I have an S3 bucket mounted using s3fs-fuse at /yyy and a normal drive mounted at /xxx. I am exporting both with NFS however when a client attempts mount, I see the following error: rpc.mountd[pid]: /xxx and /yyy have same filehandle for…
Alex Rothberg
  • 481
  • 2
  • 4
  • 8
2
votes
1 answer

how can I access NFSv4 with kerberos auth from within Docker container?

Our NFSv4 file-server uses Kerberos authentication managed by Active Directory. I need to run a batch process inside a Docker container that accesses data held on the file-server. From within the container, I have tried authenticating with the AD…
Martin
  • 516
  • 2
  • 4
  • 14
2
votes
1 answer

Mount multiple nfs4 on CentOS without sharing a parent directory

I want to share /share/foo and /share/bar etc via NFS on CentOS. I ran into this common problem: mount.nfs4: mounting 192.168.101.254:/share/foo failed, reason given by server: No such file or directory The solution seems to be to export the parent…
spraff
  • 549
  • 4
  • 8
  • 18
2
votes
0 answers

Apache userdir over Kerberized NFSv4 mount : Forbidden access

I have set up a practical room dedicated to web development learning. Users accounts are managed by a Samba 4 AD and users files are stored in a central NFS server with exports securised by Kerberos. All work fine : Users can be authenticated by…
2
votes
0 answers

What can be the cause of high number of nfs_lookup requests?

Since a recent linux kernel upgrade (3.2.78 on Debian Wheezy) on both my NFS clients and NFS server, I'm seeing really high increase (10 to 20 folds) in the number of nfs_lookup requests from the clients to the server. This is making a huge…
Lætitia
  • 2,085
  • 22
  • 33
2
votes
1 answer

Small LAN Linux fileserver and network design

We have a small LAN with a couple dozen desktop client PC's and one fileserver. Our goal is to enable the client PC's to have all storage on the fileserver and for file I/O operations to feel as if the storage is still local. Most file operations…
MountainX
  • 701
  • 3
  • 12
  • 25