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

NFSv4 and CentOS

I have a storage server, running Rocky 8, and multiple clients, using Rocky 8, CentOS 7, and Debian 10/11, that connect via NFS with different exports for different file systems. One of the file systems is ZFS the other is not. This works fine with…
Chris Woelkers
  • 298
  • 2
  • 11
0
votes
0 answers

NFSv4 TCP reconnect fails after network failure due to iptables not tracking connection

I have a NFSv4 setup via TCP, /etc/fstab: nfs-server:/share /mount nfs4 tcp,hard,intr,rw,port=2049 0 0 A few days ago we had a network failure and multiple clients are still stuck trying to reconnect. I managed to pin-point the issue to the…
fodinabor
  • 101
  • 1
0
votes
0 answers

NFSv4 with Kerberos takes a long time to mount

I have an NFS server with Kerberos authentication (Debian 11). If I want to mount a share on a client for the first time after a restart, this takes 10-12 seconds. If I then mount another share from the same server, it works almost immediately. NFS…
Nick
  • 1
0
votes
0 answers

Debian 11: Unable to mount NFS directory at startup running in VMWare Player

I'm working to replace an older Ubuntu 20 VM running on my desktop (VMware Workstation 16 Player) with a new VM running Debian 11. The network adapter is set to "Bridged". Everything has worked well except one thing - I store home directories on a…
John Heyer
  • 211
  • 1
  • 3
  • 10
0
votes
0 answers

ESXi 7.0 mounting NFSv4 datastore unable to provision OVAs, NFSv3 works fine

We have an Ubuntu 20.04 host using ZFS and the sharenfs option: root@host:~# zfs get sharenfs pool/enc/esxi NAME PROPERTY VALUE SOURCE pool/enc/esxi sharenfs …
Xyl
  • 1
  • 1
0
votes
0 answers

Which Cipher Is Being Used To Encrypt NFSv4 With "sec=krb5p"?

I am using NFSv4 with sec=krb5p encryption enabled on a CentOS 7 client & server. My NFS shares mount flawlessly at boot-time, and when I query my keytab file I am able to view the list of available ciphers, as so... # klist -ke Keytab name:…
Will
  • 11
  • 4
0
votes
1 answer

NFSv4 and kerberos: access denied 50% of the time

We are trying to mount NFSv4 shares on RHEL 8 clients, with kerberos. We have a very similar setup on another environment, and it worked fine. But on this setup, it happens that we get access denied around 50% of the times we try to mount a share: #…
0
votes
1 answer

NFSv4 permissions issues with an exported glusterfs

I have a situation with kernel NFS server. I have two exports with exactly the same ACLs, with full permissions for the informatica@adtest.xx.xx.xx group. One is /exports/directo_informatica/, which is the mount point for an LV with XFS, and the…
tizo
  • 1
  • 1
0
votes
0 answers

NFS4 + Kerberos and ownership of mounted share

I have the following setup: NFS4 server on Debian Buster, Kerberos server on the same machine, no LDAP or AD. The hostname is bohr.digital. List of…
QkiZ
  • 634
  • 2
  • 9
  • 22
0
votes
1 answer

Can't mount exported directory as NFS version 4

I'm trying to create a simple NFSv4 export. What I did so far: My exports file: /srv/nfs4 /255.255.255.0(rw,sync,fsid=0,no_subtree_check) /srv/nfs4/homes /255.255.255.0(rw,sync,no_subtree_check) I also created a bind like it…
Standard
  • 53
  • 7
0
votes
0 answers

NFS4 works on one server but not the other

I have 2 VMs, both running debian buster. One is a test VM, the other my production file server. On both I installed the nfs server package through "apt install". I created a share on the test VM called nfs under /mnt/nfs. This folder is owned by…
realShadow
  • 71
  • 1
  • 10
0
votes
1 answer

What is the difference between mount -t nfs3 and mount -t nfs -o nfsvers=3?

While mounting a share I had issues with idmapping. Mounting with sudo mount -t nfs 192.168.0.23:/myshare ./myshare -o nolock and listing its contents yielded this (note the nobody and 4294967294): -rwx------ 1 nobody 4294967294 48 Sep 27 1998…
gmelodie
  • 105
  • 1
  • 5
0
votes
1 answer

nfs downgrading from 4.2 to 4.0 depending on the client machine while theoretically capable of 4.2 - why?

I'm playing around with NFS to test some client options. Before going with the "options" thing, I just test a "by-default" connection from a couple of clients to a given server, so later I'll be able to compare optionized behaviour i contrast to the…
Xavi Montero
  • 355
  • 3
  • 18
0
votes
1 answer

How to allow rw NFS share in a heterogeneous environment (GNU/Linux, Windows)

I have a NFS server on Ubuntu 20.04. My /etc/exports looks like /home/user2 10.4.200.2(rw,sync) /home/user3 10.4.200.3(rw,sync) On a Windows 10, I mount the folder using "Connect a network storage" (Sorry, it might not be an accurate translation…
Clèm
  • 119
  • 1
  • 1
  • 7
1 2 3
17
18