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

Comparison about security between file layout and object layout of pNFS

In the three types of pNFS (block layout, file layout and object layout), as I know, block layout is lack of security. So, between file layout and object layout of pNFS, which type is more secure?
Waveter
  • 564
  • 2
  • 6
  • 23
2
votes
1 answer

Locking mechanism on pNFS

As I know, in parallel NFS, after getting Layout from Meta Data Server, Client communicate directly with the Data Server. I wander what will happen if multi clients read or write to the same region of the Data Server simultaneously. Are there any…
Waveter
  • 564
  • 2
  • 6
  • 23
2
votes
1 answer

How NFS lock works in pNFS

As I know, pNFS is an extended protocol over NFSv4.1. Does anyone have any information about how the NFS lock works on Parallel NFS (pNFS)?
Waveter
  • 564
  • 2
  • 6
  • 23
2
votes
1 answer

NFS - Multiple sub dirs - Only one squashing as expected

Getting an unexpected behavior when mounting more than a single share. NFS Server $ -> cd /mnt/raid/nas && ls -lZa drwxrwxr-x. nas filer unconfined_u:object_r:file_t:s0 file drwxrwxr-x. nas filer …
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
2
votes
1 answer

NFS clients sometimes hang for 15 seconds

NFS server: CentOS7.1 (kernel 3.10.0-229, nfs-utils 1.3.0) Some clients are Ubuntu Precise (12.04) using NFSv3... they work fine. The problematic clients are running CentOS7.1 using NFSv4.1 (or NFSv4.0). Most of them time, things work fine. But…
TheAmigo
  • 189
  • 1
  • 9
2
votes
1 answer

rsync hanging up reproducable on the same file while copying to nfs share

For the last two days I try to backup my disc to an NFS share. But after a while rsync is hanging up itself. Every time on the same file. But if I exclude the file it'll hangup on the next file. So it isn't the file causing the problem at least not…
nazco
  • 387
  • 2
  • 5
  • 11
2
votes
1 answer

NFS ACLs do not apply to root

I've been using CIFS for my networking for the longest time, and I'd like to use NFS for my Linux to Linux file distribution. I've got a share drive that I've set a sticky group on, which appears to work okay when mounted via NFS except when root is…
2
votes
2 answers

Permission denied with nginx and nfs

I have two RHEL 7 machines. I have installed nginx and php-fpm and setup a nfs mount. I can read/write to the nfs mount without issues and I have another application server (Apache Geronimo) that is able to read write to it. When I installed nginx…
Ruggs
  • 123
  • 1
  • 7
2
votes
1 answer

Can I use user-based kerberos authentication with NFSv4?

Is it possible to set NFSv4 + Kerberos to do user-based authentication? As far as I understand you are required to create a principal for a client machine(i.e. it is still Host-based?) on Kerberos server, which requires admin access to KDC. In my…
2
votes
0 answers

Avoid client keytab with Kerberized NFSv4

I would like to setup a Kerberized NFSv4 server such that clients do not need a keytab to mount a volume (but such that users get their privileges according to their Kerberos ticket as usual). Is it possible? More precisely: it is my understanding…
2
votes
2 answers

Kerberized nfs4 mounts ERROR: No credentials found for connection to server

My client/servers are both running ubuntu 14.04 and kerberos user authentication works as intended. regular nfs4 mounts also work fine. All machines are running heimdal libraries. I haven't been able to get kerberized nfs4 working though. When…
cebalrai
  • 161
  • 2
  • 2
  • 9
2
votes
0 answers

Why doesn't NFS4's ID mapping give me write access?

I have installed an NFS server on an Ubuntu server system. The /etc/exports says / 192.168.178.0/24(ro,sync,fsid=0,no_subtree_check,root_squash) /home/bronger 192.168.178.0/24(rw,sync,no_subtree_check,no_root_squash) The…
Torsten Bronger
  • 276
  • 1
  • 2
  • 12
2
votes
0 answers

Preventing NFS Denial of Service

I have a NFS4 server running Ubuntu 10.04 Server, on an enterprise environment with 50+ clients. Overall, everything works fine, but from time to time, some client starts making +1000 NFS operations per second, usually because of a client software…
2
votes
1 answer

NFS4 permission denied when userid does not match (even though idmap is working)

I have NFS4 setup with idmapd working correctly. ls -l from the client shows the correct user names, even though the user ids differ between the machines. However, when the user ids do not match, I get 'permission denied' errors trying access files,…
SystemParadox
  • 847
  • 9
  • 14
2
votes
1 answer

NFS4 does group membership have to be manually synchronised between hosts?

I have NFS4 correctly mapping user and group IDs (using idmapd). Does group membership have to be synchronised across hosts manually or is it handled by idmapd or NFS itself? Example: # server users alice:1000 bob:1001 # server…
SystemParadox
  • 847
  • 9
  • 14