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

Does "Kerberised" NFSv4 securely protect against a malicious client spoofing the user

I have read conflicting statements about whether shares exported via NFSv4 with sec=krb5 are cryptographically protected against a malicious client mounting the share and then spoofing the user to gain access to unauthorised files. For example, here…
Terry Burton
  • 160
  • 1
  • 9
0
votes
1 answer

Synology Rackstation - Better way to mount it

We are using a Synology Rackstation storage to store our static content which is served by a 4x Nginx backend. Now we've mounted it by nfs4 like this: 192.168.0.20:/volume1/images2 /data/images nfs4 …
Masterl1nk
  • 157
  • 2
  • 13
0
votes
2 answers

Centos7 not allowing nfs to be served

I just did a fresh centos7 and fedora 20 install on 2 systems. I have several current systems running on the network and can connect to an existing nfs share no problems. when any system triest to connect to the centos7 for rpc or nfs they get…
Kendrick
  • 293
  • 4
  • 16
0
votes
1 answer

mouting NFSv4 filesystem returning "Permissions denied"

I am using Red Hat for NFS with Kerberos client: [root@perf-c238 ~]# cat /proc/version Linux version 2.6.18-92.el5 (brewbuilder@ls20-bc2-13.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-41)) #1 SMP Tue Apr 29 13:16:15 EDT 2008 NFS…
0
votes
1 answer

Zero length and zero permission files created on NFS mount

We have one NFS share mounted from one server to another (first is exporting, second is mounting). Sometimes when the file is created on the server, which has the NFS volume mounted, the file ends up with zero length and zero permission so it is not…
pigster
  • 129
  • 1
  • 4
0
votes
1 answer

user id mapping failing with nfs and ldap

I have a NFS4 export (from FreeBSD ZFS filesystem) with root_squash turned off (-maproot=root). Until recently I've been mounting this drive without problems on several machines (mostly Ubuntu 12.04 server), but all of a sudden I've run into this…
Cyclone
  • 557
  • 5
  • 15
0
votes
1 answer

NFS + Kerberos: can regular users access mounted directory without Kerberos ticket (kinit)?

I had this issue, which turned out to be caused by lack of Kerberos ticket. So the user can access NFS mount after doing kinit. Is there any way to let users access NFS mounts without a need to acquire Kerberos ticket? Update: Please note that the…
Mike
  • 598
  • 7
  • 16
0
votes
1 answer

NFS4 with Kerberos: DNS not enough, need entries in /etc/hosts (Why?)

I've had some hard time configuring NFS4 with Kerberos last time. Finally I made it but there are few things I do not fully understand yet. One of them is: why DNS resolution of hostnames is not enough? I have 2 machines: nfsserver, nfsclient. Both…
Mike
  • 598
  • 7
  • 16
0
votes
1 answer

nfs daemon doesn't listen 2049 port

I have some problem with nfs. Looks like its doesn't listen 2049 port on client. Both client and server has Debian linux. serv$ rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 …
vld
  • 3
  • 3
0
votes
2 answers

I have to restart nfs service every time after I boot Ubuntu Server 11.04

After a reboot of my Ubuntu server, the nfs shares and not accessible. I have to do sudo /etc/init.d/nfs-kernel-server restart and then clients can mount the nfs shares just fine. The service is started at boot, and I've tried adding this line to…
James
  • 819
  • 4
  • 10
0
votes
2 answers

Reset ACLs in NFS4/ZFS network share

How can I reset the ACLs on a ZFS file system on OpenIndiana that is exported via NFS4 and replace it with inherited permissions? Basically, I want to do the equivalent of icacls "C:\path\to\folder" /reset /T /C on Windows on this machine. However,…
Christoph
  • 309
  • 7
  • 16
0
votes
0 answers

nfs4 idmapping with sss

We have a Dell enterprise file server that implements NFS4 ACLs. I can mount a NFS4 directory and nfs4_setfacl and nfs4_getfacl work correctly. Unfortunately, I am unable to get an ls listing to work correctly. I've enabled id mapping: echo 0 >…
gerard
  • 293
  • 2
  • 7
0
votes
1 answer

NFSv4 and race condition with idmapd, pam_mount and auto mount

We mount NFSv4+krb5 shares with automount, and it works fine. We are now trying to mount home directories with nfs4 and automount. We get the directories mounted, but still get some directories/files mounted as "nobody". Mounting the same directory…
0
votes
1 answer

NFSv4 sharing directories over different NICs fails

i am surprised to run into problems with the following attempt: #/etc/exports /path/to/dir1 10.10.2.3 (...) /path/to/dir2 10.10.4.10 (...) # server host ip a eth0 10.10.2.20 eth1 10.10.4.20 # client host ip a eth0 10.10.2.3 eth1…
Stkel
  • 1
0
votes
0 answers

SLURM / NFS based computing cluster with disk uniterruptible sleep issues (state : D)

Context : We have a computing cluster based on 7 servers, running Debian 11: a storage (HDD NAS, ~500TB, RAID5, LVM) a frontal server, running SLURM, nfs-common 5 nodes on which the storage is mounted through NFS. When business users run SLURM…
1 2 3
17
18