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
1
vote
0 answers

Sharing a folder through NFSv4 and Samba

I have some trouble getting the proper access right to work for a folder shared through samba and nfs. Connected like this: ┌────────────┐ ┌──────────────┐ ┌──────────────┐ │ NFS-Server ├────┤ NFS Client ├────┤ Samba Client │ │ │ …
exhuma
  • 366
  • 1
  • 4
  • 13
1
vote
1 answer

NFS4: rpc.idmapd or nfs.idmap upcall?

https://www.kernel.org/doc/Documentation/filesystems/nfs/idmapper.txt states: The file /etc/request-key.conf will need to be modified so /sbin/request-key can direct the upcall. The following line should be added: #OP TYPE DESCRIPTION…
SystemParadox
  • 847
  • 9
  • 14
1
vote
1 answer

NFS exportfs spamming logs. Is this a broken setup?

I have a NFS server running Ubuntu 10.04, serving an OCFS2 filesystem. The setup is somehow complicated because the server has Heartbeat and Pacemaker installed to make a cluster with another server. Anyway, the strange thing: # tail -12…
1
vote
1 answer

NFS4 (TCP) over openvpn (UDP) - mount can be browsed, but D/L kills it

Setup works (client can browse nfs over openvpn and do some work and file transfers), but something is wrong because the NFS/OpenVPN mount will fail/freeze mid-transfer and (among other things) prevent the client from restarting. issuing #mount -l…
jojo
  • 23
  • 7
1
vote
0 answers

nfs4 rpc.idmapd not working on one machine

I have an nfs4 server, with fsid=0 exported with no_subtree_check,no_all_squash,no_root_squash I have various clients working fine with this, a mixture of debian and arch, mounting with nfs4 and uids and gids, userids and groups, are reported…
Paul
  • 1,288
  • 13
  • 25
1
vote
2 answers

"Stale NFS file handle" error when trying to access directory

I have four computers and on two of them (say it will be n1 and n2) I have installed NFS4 server and exported: /export 10.0.0.0/16(rw,fsid=0,no_subtree_check,async,insecure,no_root_squash) /export/home…
klew
  • 723
  • 2
  • 11
  • 16
1
vote
1 answer

NFSv4 with autofs automount hanging only for some users

I have a DRBD partition mounted get auto-mounted using Linux-HA, then it sets up a bind and shares the directory via NFS. This shares out a directory for user home directories. Some users work fine, most do not and it sits there hanging on mounting…
hellomynameisjoel
  • 2,172
  • 2
  • 18
  • 23
1
vote
1 answer

How does one set ownership of a directory using nfs4_setfacl?

Or put another way, when I see @OWNER in a nfs4 ACL does this @OWNER refer to a local Unix/Linux user? I need to make an AD user (without a corresponding local account) the owner of a directory on a CentOS server. When I say "without a corresponding…
mr.zog
  • 923
  • 3
  • 20
  • 39
1
vote
1 answer

How can I mount an NFSv4 export with multiple IPs

I have a Synology with 2 controllers exporting an NFSv4 share. The NFS export can be accessible via any of the 2 IPs (which are on different subnets). How on a CentOS/RHEL/Rocky Linux distro, can I mount the NFS export and have it multipath or know…
cohortq
  • 475
  • 1
  • 6
  • 13
1
vote
0 answers

NFSv4: machine gets unresponsive when share is accessed without ticket

We are implementing NFSv4_kerberos for mounting of home directories on a RHEL 9 machine. The think is that if a user has a cronjob that writes to the mounted homedir after the ticket expiration, the whole machine gets very unresponsive, to the point…
1
vote
1 answer

impossible to mount nfs shares. no traffic between client and server when executing the mount command

Both nfs client and server are redhat enterprise linux. there is not firewall between the servers. The nfs server has the right shares and data in /etc/exports. all the services are up and running. portmap rpcbind, nfsd. when attempting to mount the…
danidar
  • 53
  • 2
  • 8
1
vote
1 answer

Running NFS server on Kube StatefulSet pod

I have a Kubernetes cluster setup with 2 StatefulSets in a Kube Namespace: NFSserver Statefulset defined with a "headless" service that has 1 pod with an attached persistent volume and running an NFS server exporting that Volume. DataClient…
DavidG
  • 113
  • 3
1
vote
1 answer

Kerberized NFS4 takes 5 seconds to open a file

I set up a NFSv4 server and a client both running Debian 11.3 on Linux 5.10.0-13. It basically works i.e., I see all files with correct permissions and can open, modify, etc. However, opening a file causes a 5 second delay. The server exports…
Lars Hanke
  • 285
  • 3
  • 16
1
vote
0 answers

PCS Cluster - Binding nfsserver resource to specific IP

I'm trying to deploy a HA NFS Cluster Architecture with PCS on Rocky Linux 8.5 . Current kernel and nfs related package versions, pcs configurations are shown with detail below. I'm not able to declare specific IP for NFSD instances (rpc.statd,…
Aesnak
  • 571
  • 4
  • 12
1
vote
1 answer

When trying to nfs4 mount a share with sec=krb5 I get "not exported" error message on nfs server

I run two nfs servers with user home directories and other shares on them. The servers offer kerberized nfsv4 mounts as well as old v3 ones. Until recently I was able to nfs4-mount a krb5-exported share from one server on the second without any…
rainer042
  • 33
  • 4