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)

263 questions
28
votes
1 answer

Understanding NFS4 (Linux server)

I've been a bit bothered by NFS4 on Linux. Some information 'out there' seems to conflict with other information, and other information appears hard to find. So here are a couple of things that caught my attention, hopefully someone out there can…
drumfire
  • 1,699
  • 3
  • 14
  • 21
27
votes
8 answers

Secure Network Filesystems for Linux: What are people doing?

NFSv3 is widespread, but the default security model is... quaint. CIFS can use Kerberos authentication, but without POSIX semantics it's a non-starter. AFS never did encrypt traffic on the wire and is krb4 — and basically a dead project. Fancy new…
mattdm
  • 6,550
  • 1
  • 25
  • 48
14
votes
1 answer

What is the difference between Ceph and NFS when it comes to shared file storage?

Can someone explain to me what is Ceph compared to NFS? From a shared file storage perspective? What is the added value of using Ceph instead of NFS?
Basil A
  • 1,910
  • 2
  • 17
  • 18
11
votes
1 answer

NFS v3 versus v4

I am wondering why NFS v4 would be so much faster than NFS v3 and if there are any parameters on v3 that could be tweaked. I mount a file system sudo mount -o 'rw,bg,hard,nointr,rsize=1048576,wsize=1048576,vers=4' toto:/test /test and then run …
Kyle Hailey
  • 275
  • 3
  • 10
8
votes
1 answer

What is the current status of pNFS on Ubuntu?

There is a lot of confusing information out there on pNFS, and I have some very simple questions: How can I check if it is running/enabled/active on my system? Is pNFS widely available today or still experimental? In particular what is its status…
isarandi
  • 331
  • 1
  • 11
8
votes
2 answers

How to identify which NFS client generates disk IO?

Our pool server disk is 100% busy. I checked with iotop and determined that nfsd is the top process which consumes disk IO. I need to narrow that down further and want to determine which of the NFS clients using the server is/are responsible for…
Gani Rakhmatov
  • 217
  • 3
  • 11
8
votes
3 answers

NFSv4 not able to set any sockets for nfsd without running rpcbind

According to Red Hat docs 'rpcbind' is not required any more: Because protocol support has been incorporated into the v4 protocol, NFSv4 has no interaction with the portmap, rpc.lockd, and rpc.statd daemons. NFSv4 listens on the well-known TCP…
HTF
  • 3,050
  • 14
  • 49
  • 78
8
votes
3 answers

Permissions are not taking effect with Kerberised NFSv4 on FreeBSD

I'm currently trying to set up an NFSv4 server on FreeBSD. I have extensive experience with doing this on other Unices (Solaris and Linux), but I'm fairly new to FreeBSD. My goal is to achieve the following: Files served from the FreeBSD system The…
Elias Mårtenson
  • 309
  • 1
  • 4
  • 12
7
votes
1 answer

How can I use POSIX ACLs on an NFSv4 mount in Linux?

I have recently transitioned a Linux fileserver from offering only NFS v3 to also offering NFS v4. All of our clients happily started using NFS v4 automatically. Unfortunately, this effectively broke ACL management for the handful of users that…
asciiphil
  • 3,036
  • 3
  • 26
  • 52
7
votes
2 answers

Yet Another NFS Permissions Error: Linux NFS4 Access Denied ('Auth Bogus Credentials (seal broken)') from NAT'd VM

Inside the VM, host address is 10.0.2.2, local address is 10.0.2.15. (VirtualBox). This gets translated to 127.0.0.1 on the host side. To connect: sudo mount -vvvt nfs4 -o clientaddr=127.0.0.1 10.0.2.2:/srv /mnt I specified clientaddr because I…
A__A__0
  • 393
  • 2
  • 6
  • 16
7
votes
2 answers

NFSv4 "Too many levels of symbolic links" error

Both machines are running Ubuntu 12.04 Remote NFSv4 Client $ ls /mnt/storage/aaaaaaa_aaa/bbbb/cccc_ccccc gives this error: ls: reading directory .: Too many levels of symbolic links How can I fix this? When error occurs ls start listing the files,…
user1434058
  • 89
  • 1
  • 1
  • 6
7
votes
3 answers

How to mount multiple folders with nfs4 on centos?

I'm trying to get nfs4 working here. Machine 1 (server) I have a folder and in it 2 other folders I'm trying to share independently. /shared/folder1 /shared/folder2 Problem is, I can't seem to figure out how to mount the folders independently on the…
stormdrain
  • 1,377
  • 7
  • 28
  • 51
6
votes
1 answer

What services and ports are required for NFSv4?

I've been trying to find the definitive answer to this question, but I'm getting conflicting results due to various NFS versions out there. I've configured NFSv4 by following https://help.ubuntu.com/community/NFSv4Howto and currently have the…
Saurabh Nanda
  • 449
  • 1
  • 7
  • 17
6
votes
1 answer

Amazon EFS Mount from OSX

Gentlemen, I followed the instruction on this excellent post but failed to connect. Elastic file system (EFS) mount outside of AWS I use CoreOS in a Mesos Cluster. We have an EFS connected to all the nodes in the cluster so they can share data,…
G Rodriguez
  • 61
  • 1
  • 1
  • 3
6
votes
2 answers

Can NFS server limit the amount of disk space that the NFS client can use?

Let's say in a server A with 100GB partition, user create a NFS export directory. In server B, user mount the NFS share to use it. In server A, can the NFS server limit the amount of disk space that the NFS client can use? Or the client will always…
userpal
  • 593
  • 3
  • 9
  • 17
1
2 3
17 18