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

Client cannot mount: "mount.nfs4: Protocol not supported"

I am running nfs4 only on both server and client. I am not sure what I changed recently, but I can no longer mount an exported file system which I used to be able to mount. I have just upgraded the client machine from Fedora 31 to 32... but I…
Chris Hall
  • 191
  • 1
  • 1
  • 7
3
votes
1 answer

NFS server as a client of itself performs very poorly

I have set up an NFSv4 server. I am sharing files with Linux machines in a VM farm and Windows 7, 8, and 10 machines, so I need to share files with both NFS and Samba1. In the past, I have done this by configuring an NFS machine with direct access…
rg6
  • 185
  • 1
  • 11
3
votes
1 answer

macOS High Sierra issues mounting Kerberized NFSv4 shares

I'm using FreeIPA for LDAP/Kerberos and I've created a principal for a storage appliance (Dell/EMC UnityVSA VM). I have setup the VSA with a keytab from IPA, I've also setup within the VSA the LDAP configuration and created a NAS with support for…
user3814483
  • 183
  • 1
  • 10
3
votes
1 answer

Securing NFSv4 WITHOUT Kerberos on a public cloud?

I've lost enough hair trying to setup this Kerberos nonsense. Is there any way to secure an NFS v4 setup without using Kerberos on a public cloud, i.e: all servers have a public IP (there is no internal IP or no VPC) only known servers will be…
Saurabh Nanda
  • 489
  • 1
  • 8
  • 20
3
votes
1 answer

Why isn't NFS over SSH transparent to NFS?

NFS over LAN seems to work as expected - one downloads nfs-utils rpm, makes a share, modifies ownership and SEL, allows nfs in firewalld, launches nfs-server daemon, and everything is good to go. Wanting to access files over the internet, I setup an…
J D
  • 163
  • 1
  • 10
3
votes
0 answers

NFS share group permission not respected

I have a linux client and freebsd nfs server (NAS4free actually) NFS share is mounted by fstab this way: server:/mnt/disk/ZHomeData on /data type nfs…
Artiom
  • 41
  • 3
3
votes
1 answer

bonding-rr vs single 10G for NFS NAS - pros and cons?

I'm standing before choice of NICs and switch for storage server and virtualization hosts and I can't decide between 10G and quad gigabit with bonding-rr. 10G is noticeably more expensive solution and we don't really need 10G, 4G is definitely…
3
votes
2 answers

What is causing `input/output` errors when reading from NFS v4 on CentOS?

We're seeing apps like nginx and php-fpm error out occasionally (and temporarily) while opening good files from a connected NFS mount: php-fpm error example: 2017/05/20 22:53:09 [error] 55#0: *6575 FastCGI sent in stderr: "PHP message: PHP Warning: …
editor
  • 383
  • 2
  • 5
  • 21
3
votes
1 answer

Unable to mount kerberized nfs?

I want to configure kerberized nfs, and export /data/books I have 3 servers: ipa, server, client I configured ipa and added nfs service. My Steps are: In ipa: ipa service-show nfs/server.linux.rhce.com ipa-getkeytab -s ipa.linux.rhce.com -p…
0xh3xa
  • 163
  • 3
  • 12
3
votes
0 answers

NFSv4 and idmapping

Alright, I am close to giving up on this but here is to one more attempt. I have more questions than answers and any help would be greatly appreciated. The operating system on the server is Debian Stretch, on the client it is Debian Sid. I have a…
Ivan
  • 173
  • 6
3
votes
1 answer

mount(2): Stale file handle NFS after update server to Debian 8

I've several server that mounting NFS on remote backups server Everything worked until I did an update on the NFS server to Debian Jessie. Now some machines work and others not work. Try several docs over internet about problem and i do not get a…
abkrim
  • 417
  • 7
  • 18
3
votes
1 answer

How to use pNFS in NFSv4.1

As I know, pNFS is an extended protocol over NFSv4.1. So, I have two questions: How to use pNFS in NFSv4.1? Is there any special requirement for kernel version in server side?
Waveter
  • 564
  • 2
  • 6
  • 23
3
votes
1 answer

Creating a NFS share across servers with varying UIDs

I have 4-5 Ubuntu 14.04 servers in my network and I want to share a common /home directory between them. I have setup the nfs server, and I can mount the directory on various clients. However my problem is that of user IDs. Example: A user on the…
Rushi
  • 181
  • 6
3
votes
1 answer

Wrong user mapping in kerberized NFSv4 automounted homedirs

Short problem description This question is about id mapping in NFSv4 going wrong. NFS server: a Synology DS, with DSM 5.2. Client: A regular FC22 machine, which automounts as /home one of the exported folders from above. Both machines are enrolled…
cornuz
  • 437
  • 1
  • 7
  • 17
3
votes
1 answer

Windows NFS client keeps writing read-only with on NFS server with squash_all

We have a Debian 8 with an NFS server exported with "/client-share *(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)" that works just fine when transferring files from a Windows machine NFS client. Normally, files are located in…
Dy Coder
  • 31
  • 1
  • 2