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

nfs4: how to log mount requests?

On nfs3 we've had rpc.mountd which logged nice messages to syslog like authenticated mount request from 192.168.1.11:839 for /mnt/music (/mnt/music) nfs4 is quiet silent by default. I wish I could log authenticated and more important unauthenticated…
rudimeier
  • 250
  • 1
  • 9
1
vote
1 answer

mount.nfs4: access denied by server while mounting

I need to mount an NFS4 share during boot so I added the following line to fstab: 10.250.35.12:/private/share /myshare nfs4 ro 0 0 The problem is that it does not get mounted during boot. Syslog says that access denied by server. However, after…
bakcsa83
  • 111
  • 2
1
vote
1 answer

How to share NFS4 + Kerberos with dynamic IP and dynamic-dns setup (rdns doesn't work)

I have two linux machines. One is a machine behind a typical dynamic IP cable modem + OpenWRT router. The machine behind the NAT regularly updates a forward DNS record via an API call with my provider (ie. there is a dynamic DNS set up to identify…
1
vote
0 answers

NFS: file deletion experiencing delay while "overwriting" not

I'm having a situation where my file server (linux) is exporting a file system over NFS to a database server (linux). File server (FS) is therefore acting as the NFS server and database server (DBS) is the client. The export options on FS are…
Cubehero
  • 11
  • 1
1
vote
0 answers

cpu load and nfs performance

I have an issue about nfs performance. The server is connected via an ISCSI connection TO a SAN. I have sometimes and more and more often load picks and client freezes. I added RAM and try to optimize via different stuff : sysctl -w…
1
vote
0 answers

Comparison between performance of block layout, file layout and object layout of pNFS

As I know, there are three type of pNFS: file layout, block layout and object layout. So, between these types, which layout reach the best performance and which layout has the worst performance.
Waveter
  • 564
  • 2
  • 6
  • 23
1
vote
1 answer

"nfsd peername failed" but NFSv4 service functions

My current setup: 2 NFS servers sharing the same directory with identical content, 1 keepalived server as SLB (or rather for failover in this scenario), and 1 NFSv4 client mounting through VIP. All systems run CentOS 6 (2.6.32-573.26.1.el6.x86_64).…
yongtw123
  • 121
  • 1
  • 3
1
vote
1 answer

NFS4 ID Mapping

Currently using NFS4 idmapping. If i manually update the file "/sys/module/nfsd/parameters/nfs4_disable_idmapping" on the NFS Server to "N" and flush the cache the UID and GID show up correctly on the NFS client. The issue is on reboot it seems to…
go0n
  • 59
  • 1
  • 6
1
vote
3 answers

File permissions are being changed after gunzip of .gz file; how do I prevent that?

I have an NFS4 filesystem that has AD based authentication setup and ACLS to match. I am controlling access to the machines that mount the filesystem so the ACLs are very basic. One prevents users from renaming or deleting folders at the parent…
1
vote
1 answer

Wrong SELinux labels on NFS homes?

I have NFS (v4) home directories. The NFS server is a Synology (DSM 5.2), the client is a FC 23. The client gets autofs settings from a freeIPA server: ipa automountmap-add default auto.home ipa automountkey-add default --key "/home" --info…
cornuz
  • 437
  • 1
  • 7
  • 17
1
vote
2 answers

Prevent root in linux from changing folder permissions in GPFS filessystem

I have created a NFS export in a GPFS/SpectrumScale filesystem I created. I have enabled AD based authentication with our domain. Everything works. The NFS export was created with NFS4. The NFS export is mounted on some linux VMs. The problem is…
mrbarker
  • 137
  • 10
1
vote
1 answer

nfs(v1.2.8) client does not support all_squash option

$ /sbin/mount.nfs --version mount.nfs: (linux nfs-utils 1.2.8) $ mkdir -p ~/mnt && sudo mount -t nfs -o rw,all_squash xx.xx.xx.xx:/lgtm/path/to/share ~/mnt mount.nfs: an incorrect mount option was specified If I remove all_squash then it works fine…
fakedrake
  • 131
  • 2
1
vote
1 answer

Change NFSv4 Bound Port?

I need to use port 2049/tcp for another purpose. Is there a way to change which port NFSD binds to? I don't need NFSv3 or NFSv2 so I am not using rpcbind service. I cannot find that config option...
four43
  • 2,765
  • 2
  • 16
  • 17
1
vote
1 answer

Configure NFSv4 to allow different users read-write access

I have an NFSv4 server (CentOS). I want to export a particular directory to two different machines (one CentOS and one Ubuntu), where users of the same uid and gid need read-write access to the mounted directory. The GID and UID are the on the…
Bruce Becker
  • 302
  • 1
  • 4
  • 18
1
vote
2 answers

NFS share not connecting over ssh tunnel on Mac OsX, it works on all other devices

I've been searching for a while now to try and find a solution but I finally gave up. I have a ubuntu server running an nfs share. I set it up so that you have to connect to it using ssh. which is awesome. the problem is that I can connect to it…
GeneralCan
  • 111
  • 6