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

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients which mount this partition through NFS still see the…
Vij Vijay
  • 23
  • 1
  • 6
1
vote
0 answers

Some users cannot write via NFS, but others can

I have an NFS4-mounted /home drive, with several different users' home folders in it. I am using inetd's ID-mapping feature (i.e. NEED_IDMAPD=YES in /etc/default/nfs-common). The NFS mount and ID-mapping seem to be working properly, because most…
Kyle Strand
  • 113
  • 5
1
vote
0 answers

NFS local user mapping works, but not with sudo

I want to use an NFS share for backing up. I have created a local user on the client with a specific uid/gid combination that works for writing files to the NFS share. So far so good. However, I need sudo to read all users' home directories on the…
NFS-woes
  • 11
  • 1
1
vote
1 answer

How to set up pNFS on CentOS

I'm looking into different ways to create a petabyte storage array. One option that looked interesting is pNFS; however, I'm having trouble finding details on how to set it up. How can I set up pNFS on CentOS 6.6 servers? How do I specify which…
onlyanegg
  • 163
  • 2
  • 9
1
vote
1 answer

Random machine hangs with NFSv4 on CentOS/RHEL 6.5

We have an in-house "compute farm" with about 100 CentOS (free re-distribution of RHEL) 5.7 and 6.5 x86_64 servers. (We are in the process of upgrading all the 5.7 boxes to 6.5.) All these machines do two NFSv4 mounts (with sec=krb5p) to two…
Matt
  • 1,047
  • 2
  • 14
  • 20
1
vote
0 answers

Kerberized root user on RHEL 5/6

I'm currently involved with getting NFSv4 and Kerberos. We've decided to bite the bullet and try and make the transition. Our environment is: Windows AD LDAP auth on Linux against said AD. RHEL5/6 and a small ish list of exceptions. (Some of our…
Sobrique
  • 3,747
  • 2
  • 15
  • 36
1
vote
0 answers

Kerberized NFSv4 share (deleted) after token expiry

I set up a NFSv4 server with Kerberos authentication and it runs well. However, some users stay logged in for long times such that they have to renew their tickets after some days. If during the time with an expired ticket a NFS share is accessed,…
Lars Hanke
  • 285
  • 3
  • 16
1
vote
0 answers

rsync chgrp Failing on NFS

I am trying to set up NFS on two servers to share files. The owner of the files in question have the same UID and GID on NFS Server and each NFS client. The NFS Server is running on Ubuntu 14.04 and the clients are both 12.04. The NFS Share is on…
kmac
  • 146
  • 4
1
vote
1 answer

Mounting NFS with sync option but without noac option

When I mount using the sync option: sudo mount -o vers=4,soft,sync,sec=none -t nfs 192.168.1.198:/js.js /mnt/self the sync option doesn't seem to get applied: $ cat /proc/mounts | grep nfs 192.168.1.198:/js.js /mnt/self nfs4…
jterrace
  • 61
  • 1
  • 6
1
vote
0 answers

Single NFS folder shared across multiple clients

I'm trying to mount a single NFS folder from server say "/share/folder" to multiple clients up to 32 clients, and the clients tries to access the folder and create files. The problem I'm facing is that when I execute the write command I see only one…
1
vote
0 answers

Sharing a folder through NFSv4 and Samba on Ubuntu

I encountered problem with configure samba server above nfsv4. I have 2 servers with Ubuntu 12.04 on both of them. First server serve as NFSv4 storage, for VDI and user shares. File system is ext4. At that point all seems to be OK. Second server…
Jumper
  • 11
  • 2
1
vote
1 answer

NFSv4 file ownerships, nfsidmap name not found in domain

I have an nfsv4 server and client (both RedHat 6) configured with the method set to nsswitch, and the same domain set on both client and server in /etc/idmapd.conf. On the client I get nobody:nobody ownerships and the following message in…
codybuell
  • 11
  • 1
  • 4
1
vote
2 answers

Regular user can not access NFS4 mounts (permission denied)

I have nfsserver and nfsclient machines. On nfsserver: # cat /etc/exports /export gss/krb5p(rw,sync,fsid=0,no_subtree_check,crossmnt) /export/home gss/krb5p(rw,sync,no_subtree_check) On nfsclient it mounts OK: # mount -vvv -t nfs4 -o…
Mike
  • 598
  • 7
  • 16
1
vote
0 answers

Setting NFS Domain name on Windows 2012 NFS Server

I have a Windows 2012 NFS server setup to use my AD domain as an authentication source. My domain is ad.example.com with a NetBIOS name of AD. My linux machines have idmapd configured to use ad.example.com as the domain. When I ls -al my folders I…
HaxElit
  • 107
  • 3
1
vote
1 answer

Dual Linux NFS Server Failover - nfsv4leastime / nfsv4gracetime

first time here posting, i hope i won't do many mistakes. I've a setup with 2 NFS server. They're using corosync/pacemaker + drbd to offer active/passive nfs server. Distro used is Ubuntu latest LTS version. Cluster is also offering a floating ip…
Andrea
  • 26
  • 5