Questions tagged [nfs4]

Network File System version 4 (NFSv4)

Filter by
Sorted by
Tagged with
28 votes
1 answer
20k views

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 ...
drumfire's user avatar
  • 1,709
27 votes
8 answers
8k views

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 ...
mattdm's user avatar
  • 6,670
17 votes
1 answer
13k views

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's user avatar
  • 2,140
11 votes
1 answer
8k views

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,...
Kyle Hailey's user avatar
9 votes
1 answer
41k views

How to configure reasonable timeout for nfs?

I have nfs mount to a directory on remote machine. When the remote machine is down or disconnected, any command on the nounted nfs (such as: ls, or open file) is stuck. I want it to just fail in a ...
SHR's user avatar
  • 323
9 votes
1 answer
3k views

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 ...
isarandi's user avatar
  • 351
9 votes
2 answers
5k views

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....
A__A__0's user avatar
  • 453
8 votes
1 answer
15k views

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 ...
G Rodriguez's user avatar
8 votes
2 answers
6k views

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 ...
Gani Rakhmatov's user avatar
8 votes
3 answers
18k views

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....
HTF's user avatar
  • 3,198
8 votes
3 answers
25k views

mount using nfs4 giving no such device error

I am trying to mount a folder workspace from server to the client over NFS. For this I bind the folder to an /export by adding the following in my /etc/fstab on server: /home /export none bind ...
Shehbaz Jaffer's user avatar
8 votes
1 answer
3k views

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 ...
asciiphil's user avatar
  • 3,146
8 votes
3 answers
2k views

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 ...
Elias Mårtenson's user avatar
7 votes
1 answer
30k views

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/...
Saurabh Nanda's user avatar
7 votes
3 answers
20k views

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 ...
stormdrain's user avatar
  • 1,469
7 votes
2 answers
23k views

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 ...
userpal's user avatar
  • 613
7 votes
2 answers
17k views

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 ...
user1434058's user avatar
6 votes
1 answer
16k views

NFS4: what effects changes to /etc/idmapd.conf?

We have been wrestling with the problem where our NFS4 mount on our RHEL 6.3 clients show file ownership as "nobody", and where we see "nss_getpwnam: name 'blah' does not map into domain 'localdomain'"...
Mike S's user avatar
  • 1,215
6 votes
3 answers
12k views

nfs4 and kerberos: Wrong principal in request

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 ...
cebalrai's user avatar
  • 161
6 votes
2 answers
24k views

Restart idmapd without rebooting the host?

When I have changed Domain in /etc/idmapd.conf and then service idmapd restart, then the change doesn't take effect until I reboot. Is it possible to do this without having to rebooting the host? I ...
Sandra's user avatar
  • 10.6k
6 votes
1 answer
5k views

How do I disable NFSv3/v2 connections to a FreeBSD NFSv4 server?

I am using a Kubuntu 11.10 client with a FreeBSD 9.0 server. The server has the following lines in /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" and the ...
Utkonos's user avatar
  • 426
5 votes
1 answer
3k views

NFSv4 through portforward

I would like to reach my NFSv4 servers though port forward. The big plan will be a cluster of NFSv4 servers loadbalanced with HAProxy running on localhost. But this isn't really important now. At the ...
Stone's user avatar
  • 7,079
5 votes
3 answers
11k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 "server requires stronger authentication"

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
Joseph Lenox's user avatar
5 votes
2 answers
595 views

Latency on a small Linux NFS4 client/server system

We are a computer science department at a small university, running a RHEL 7 server using NFS4 and Fedora 24 clients (~40 client machines, ~150 users--rarely concurrent). We are having latency ...
Sprenkliest's user avatar
5 votes
1 answer
1k views

Pacemaker error on failback with drbd

I have two nodes in my cluster with drbd+pacemaker+corosync When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors ...
Leandro Ferreira's user avatar
5 votes
2 answers
2k views

NFS Performance issues on Oracle Linux 6.7: Shared libraries on NFS slow down system

I am currently hunting down some performance issues on some VMWare virtual machines with the same amount of memory and cpus, running Oracle Linux 6.6 (Kernel 2.6) and 6.7 (Kernel 3.8). The machines ...
Nodebody's user avatar
  • 151
5 votes
1 answer
6k views

NFS issue: clients can mount shares as NFSv3 but not as NFSv4 -- or how to debug NFS?

Problem description I have a file server running Debian. On it I have a few NFS shares. When I mount the shares from a client using NFSv3 (mount.nfs 10.0.0.51:/exports/video /mnt -o vers=3,soft,intr,...
Thomas's user avatar
  • 175
5 votes
2 answers
34k views

"KDC has no support for encryption type" when setting up cross-realm trust between MIT Kerberos and Active Directory

I am currently setting up an environment where I have a set of Solaris and Linux machines, using a dedicated Krberos 5 realm (MIT, on Solaris 11, krb5-config --version returns: Solaris Kerberos (based ...
Elias Mårtenson's user avatar
5 votes
3 answers
8k views

How to monitor which files are accessed through NFS?

I have a linux file server running CentOS 6. Files are accessed via NFS4. Sometimes I have problems with disk io load. I want to find out what is causing them. I can find out which client is causing ...
Gerd's user avatar
  • 51
5 votes
2 answers
3k views

NFS low performance after some activity

I have a Linux cluster with nodes that have NFS mountpoints from a central server (actually the nodes are diskless and are booted over PXE). After some activity on the NFS mountpoints from the nodes, ...
Holger's user avatar
  • 51
5 votes
1 answer
3k views

NFSv4 - ACLs not working

I've setup an NFSv4 server (Debian) and client (Ubuntu/Mythbuntu). It seems that uid username mapping is working nicely out-of-the-box (I get correct usernames on ls -l if the usernames match between ...
alex's user avatar
  • 1,329
4 votes
4 answers
8k views

Make NFS server listen only on a specific interface

I am trying to run a NFS server (nfs-kernel-server package) on a Ubuntu 20.04 machine and want to make it only acessible via VPN. I have set the appropriate IP address in the /etc/exports file and my ...
mat's user avatar
  • 548
4 votes
2 answers
821 views

ESXI 8.0 Host to NFS slow vs Guest to NFS

I have been trying to track down why my backups have been slow using ghettoVCB from the ESXI host. I'm currently backing up my virtuals using ghettoVCB to a NFS share on TrueNAS from the host OS. When ...
Rtype's user avatar
  • 143
4 votes
1 answer
2k views

How can I determine the version of a remote NFS share?

I am having trouble with a some software, that only can mount NFSv3 and NFSv4 share - it can not mount NFSv4.1 or NFSv4.2. Since I do not have access to the server itself, I cannot determine what ...
Orphans's user avatar
  • 1,434
4 votes
1 answer
14k views

Client cannot mount: "mount.nfs4: Protocol not supported"

I am running nfs4 only on both server and client. I am not sure what I changed recently, but I can no longer mount an exported file system which I used to be able to mount. I have just upgraded the ...
Chris Hall's user avatar
4 votes
1 answer
6k views

Can Windows Server 2012 R2 mount a NFS 4.1 target?

We're looking at the new AWS feature Elastic File System (EFS). One of the caveats is that Windows Server EC2 instances are not supported (https://docs.aws.amazon.com/efs/latest/ug/gs-step-one-create-...
kafka's user avatar
  • 547
4 votes
2 answers
4k views

How to automate directory creation on NFS-Server?

I created and configured a test-environment of 3 virtual machines: A FreeIPA server which provides krb5-authentication A NFS-Server using server 1 to secure itself A client that automounts home ...
Richard's user avatar
  • 749
4 votes
2 answers
7k views

XFS: possible memory allocation deadlock in kmem_alloc

I am performing a data analysis that entails loading a large data matrix of ~112GB into a memory-mapped file using R programming language, specifically the bigmemory package (see https://cran.r-...
Vince's user avatar
  • 371
4 votes
1 answer
5k views

NFS v4 ACL inheritance problems - "i" flag set but not wanted

What I am trying to is add an NFS v4 ACL that allows a directories, child and grandchild, great grandchild etc directories and files to inherit a delete ('D') flag under linux. The underlying file ...
Jason Tan's user avatar
  • 2,752
4 votes
1 answer
1k views

Where would I find background documentation on nfsidmap?

I'm trying to set up an NFSv4 client, and can't find useful documentation. The manpage for nfsidmap(5) (I'm concerned with CentOS on the client-side, as it happens) describes a particular tool, which ...
Norman Gray's user avatar
4 votes
1 answer
2k views

NFSv4 Symbolic link under virtual root

My intention: use /exports as my virtual root of NFSv4 export dir /my/dir through NFS So I created a symlink under /exports like this # ln -s /my/dir /exports/dir and my /etc/exports looks like: /...
Andy Song's user avatar
4 votes
1 answer
5k views

Encoding issue between NFSv3 and NFSv4

We have some issues regarding NFS share regarding filenames encoding. We were previously mounting as NFSv3 and started to use NFSv4 and some files previously created, with special characters (...
Lebowski's user avatar
  • 141
4 votes
1 answer
5k views

Problems on mounted NFS: 'No such file or directory' but files and directories exist

So we are having a medium-sized NFS4 storage server running CentOS 6.6 exporting an NFS share /storageDat (which is the NFS root, with two RAID volumes bound in there: ./dat1 and ./dat2); Export ...
Mone's user avatar
  • 41
4 votes
0 answers
2k views

How does the Linux NFS server implementation of setclientid work?

Does anyone understand the NFS protocol (Version 4) or the Linux NFS server implementation of it well enough to explain how setclientid negotiates authentication? Background: I have a CentOS 7 ...
Tobias's user avatar
  • 86
4 votes
0 answers
2k views

NFS ignores secondary groups

My NFS server seems to be ignoring secondary groups. I have fewer than 16 groups per user, but have --manage-gids on. The NFS share doesn't mount when this option is missing. Users and groups are ...
kai's user avatar
  • 141
4 votes
0 answers
2k views

Automount mac home directories using NFS4

I'm trying to set up automounting of user home directories using NFSv4 on Mac clients. Everything appears to work as expected except for logins via the Mac GUI. These hang with a spinning cursor. ...
Dave Robertson's user avatar
4 votes
0 answers
3k views

Non-root user needing chown capability on NFS client

I am providing an NFS server as part of a collaborative project with another group producing client software over which I have no control. Their software provides file management to its users through ...
Drew's user avatar
  • 83
4 votes
1 answer
5k views

Solaris 10 NFS client mount error "NFS compound failed for server 10.0.2.18: error 5 (RPC: Timed out)"

I have a Solaris 5.10 (I think that's considered Solaris 10) server - we'll call it "Bill" - which I own, but a vendor supports the additional software installed. They have to manually stop services ...
user38537's user avatar
  • 293
4 votes
0 answers
2k views

NFSv4 idmapd ignores Nobody-User

I have a folder which is owned by ftp:users. I wanted to export this folder and have all requests mapped to the ftp user, which has id 107. In /etc/exportsI have the following: /media/other 10.1.1....
Rapsey's user avatar
  • 305
3 votes
1 answer
2k views

Creating a NFS share across servers with varying UIDs

I have 4-5 Ubuntu 14.04 servers in my network and I want to share a common /home directory between them. I have setup the nfs server, and I can mount the directory on various clients. However my ...
Rushi's user avatar
  • 181

1
2 3 4 5 6