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
1 answer

How to export shares so that users don't create file as root

I am trying to export home directories from my NAS to ubuntu clients - the server is a TrueNAS Scale, which is Debian based. Kerberos works, so users get the proper tickets to authenticate to the server. My main goal is that users can mount their…
1
vote
1 answer

NFSV4 w/CHMOD & CHGRP

I'm just starting off with NFSV4 and had a few questions. So normally when creating an NFS share on a NAS filer and mounting on a client I would run a chmod & chgrp to set things up the way I want. Now, I have done that already on existing…
1
vote
1 answer

how to disable/remove nfs4 acl, and back to original linux access control?

I have add nfs4 acl for a directory in nfs client, but can not use "chown/chgrp" after add nfs4 acl, now I want to give up nfs4 acl, and back to original linux simple access control, how to ??? In standard linux acl, we can use setfacl -bn xxx file…
Levin
  • 121
  • 4
1
vote
0 answers

Ubuntu/Debian client don't use NFSv4

I'm try to create a connection to a NFSv4 only server. But the clients try to downgrade the protocol versions: mount -v -t nfs -o nfsvers=4 my-nfsv4-only.server:/exports/storagetest storagetest mount.nfs: timeout set for Wed Oct 27 16:16:28…
1
vote
1 answer

NFS multiples NIC

I have install nfs server into Ubuntu Hirsute, using two NIC, like that: /nfs 172.16.0.0/24(fsid=0,rw,insecure,sync,wdelay,no_subtree_check,no_root_squash) /nfs …
1
vote
1 answer

NFS not allowing hosts specified in config to mount share

I am having an issue where NFS is refusing to allow hosts that are specified in the config file to mount the share. I am running an NFS server on Debian 10, BTRFS filesystem. my /etc/exports reads: /share 192.220.189.0/24(rw,sync,no_subtree_check)…
james
  • 113
  • 5
1
vote
0 answers

kernel: nfs: nfsserver server not responding, timed out

We have a NFS client which print in to messages this error: kernel: nfs: server nfsserver not responding, timed out it is printed about every minute. Normally I will think there had a communication issue or firewalled ports. But here what is fun,…
AtomiX84
  • 435
  • 2
  • 9
1
vote
1 answer

Kubernetes can't mount NFS volumes after NFS server update and reboot

After zypper patch'ing NFS server on openSUSE Leap 15.2 to latest version and rebooting, nodes in kubernetes cluster (Openshift 4.5) can no longer mount NFS volumes. NFS server version: nfs-kernel-server-2.1.1-lp152.9.12.1.x86_64 /etc/exports…
Andrew
  • 228
  • 3
  • 12
1
vote
1 answer

Forcing `mount` to bypass nfs kernel limitations in relation to the nfs version

According to this answer https://serverfault.com/a/1062570/253400 there's the possibility that the installed software supports nfs version v4.2 but if the underlying kernel is not prepared, the mount command will then downgrade to a "known version…
Xavi Montero
  • 355
  • 3
  • 18
1
vote
1 answer

Does NFS4 have the crossmnt option enabled by default?

According to the manpage for the exports file the options available to manage how exports and sub-exports interact are crossmnt, nohide and hide. I have three servers A, B and C where A is the nfs server and B and C are clients. The exports file on…
JohnTitor
  • 11
  • 2
1
vote
1 answer

Docker volume on NFS share - empty directory

We have a Docker Swarm deployment running on two nodes (node1 and node2) for our business application. The application needs a volume to store persistent data. As it is unclear where a container is deployed (node1 or node2) as well as maybe two…
mr.simonski
  • 247
  • 4
  • 13
0
votes
1 answer

Issue mounting Ubuntu NFSv4 share on Windows 2012 R2

I'm having issues mounting an NFS share (Ubuntu 16.04) using NFSv4 on Windows 2012 R2 from what I understand 2012 R2 supports NFS v4.1, it looks to be defaulting to NFsv3 when running nfsstat -m. I'm not sure if this is a server or client issue.
mcastaldo
  • 11
  • 1
  • 2
0
votes
0 answers

Solving nfs "Stale file handle" caused by server reboot

This is a follow-up question to "Stale NFS file handle" after reboot as its solution doesn't work for me. My case is simple, after server rebooted, I'm getting "Stale file handle" on client side, even after I umount all nfs mounts and remout…
xpt
  • 123
  • 1
  • 6
0
votes
1 answer

Are "*_squash" (all_squash/no_all_squash, root_squash/no_root_squash, anon_uid/anon_gid) options in NFSv4 still rellevant?

Nowadays NFSv4 uses /etc/idmapd.conf to do the mapping of usernames between server and client machines. So I don't get the point of having these "*_squash" options, which seems very "NFSv3-flavoured" and redundant, if I'm not wrong. There's any…
Osqui
  • 135
  • 1
  • 8
0
votes
1 answer

rsync closed failed error

I'm getting close failed error when copying files to nfs share randomly. what could be possible reason ? rsync version 3.1.1 rsync: close failed on "/nfs_share/data/.99865579700_0.gz.LgfpIk": Input/output error (5) rsync error: error in file IO…
sherpaurgen
  • 616
  • 6
  • 10
  • 26