Questions tagged [nfs4]

Network File System version 4 (NFSv4)

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

Forcing `mount` to bypass nfs kernel limitations in relation to the nfs version

According to this answer https://serverfault.com/a/1062570/253400 there's the possibility that the installed software supports nfs version v4.2 but if the underlying kernel is not prepared, the mount ...
0
votes
1answer
32 views

nfs downgrading from 4.2 to 4.0 depending on the client machine while theoretically capable of 4.2 - why?

I'm playing around with NFS to test some client options. Before going with the "options" thing, I just test a "by-default" connection from a couple of clients to a given server, so ...
0
votes
0answers
13 views

resvport option of nfs not being honoured

Setting up my own nfs server. I am trying to do nfs mount. However, it is failing with mount.nfs: mount(2): Permission denied error. I see from the logs on server side it failed because client is ...
2
votes
1answer
33 views

NFS4 w/o Kerberos : name mapping works, permissions don't

I simply want to "map by userNAME" between NFS4 client and NFS4 server, when each has different uid for a given user name, w/o having to setup Kerberos. The situation: my Linux machine (...
3
votes
1answer
41 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 ...
1
vote
1answer
78 views

Does NFS4 have the crossmnt option enabled by default?

According to the manpage for the exports file the options available to manage how exports and sub-exports interact are crossmnt, nohide and hide. I have three servers A, B and C where A is the nfs ...
3
votes
1answer
313 views

NFS/krb5 authentication server lookup fails due to wrong principal name

When mounting an NFSv4 with Kerberos, authentication fails and krb5kdc.log shows the wrong principal name for the NFS server. LOOKING_UP_SERVER: ... host/nfsclient.internal.domain.tld@IPA.DOMAIN.TLD ...
2
votes
1answer
50 views

Why does ssh login as an AD user with private key in nfs4 /home succeed on the second attempt?

I configured my up-to-date Debian (v10.5) Server with samba, winbind, sssd, krb5 and nfs-common to authenticate against an AD in my domain and mount its /home via nfs4. On the client side (windows ...
1
vote
0answers
395 views

NFS4 and bind mount issues

Ok guys I have a weird issue. After recently adding a bind mount 2 folders deep inside an existing NFS4 export, when I mount that NFS export on my client, it leads directly to the bind mount. No ...
3
votes
1answer
2k 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 ...
0
votes
1answer
85 views

How to allow rw NFS share in a heterogeneous environment (GNU/Linux, Windows)

I have a NFS server on Ubuntu 20.04. My /etc/exports looks like /home/user2 10.4.200.2(rw,sync) /home/user3 10.4.200.3(rw,sync) On a Windows 10, I mount the folder using "Connect a network ...
2
votes
1answer
39 views

nfs - per-host write protection?

I have a debian NFS server on an internal network, that I want to protect from modification by malicious agents. I want something stronger than per-IP or per-mac firewall rules. The clients are all ...
0
votes
0answers
17 views

Permission denied for read from LFS, but it succeeds after ls command

I have observed a strange behavior where read of a file fails, but the same command succeeds after performing an ls in the parent directory of the file I wanted to read. E.g. See below (file names are ...
2
votes
0answers
76 views

NFS4 web directory throughput drops every 60 seconds - Apache / PHP-FPM / centos

We recently switched to an NFS4 share for our web directory (/var/www/sites). Ever since the switch at exactly 60 seconds, I'm seeing a drop off in throughput from the NFS mounted drive on the client-...
1
vote
1answer
904 views

Docker volume on NFS share - empty directory

We have a Docker Swarm deployment running on two nodes (node1 and node2) for our business application. The application needs a volume to store persistent data. As it is unclear where a container is ...
2
votes
0answers
343 views

Permission denied for user having a secondary group in an NFS shared folder

I have a NFS shared folder (storage) that can be accessed by other machines on my network. The right user can read and write files and folder in that storage, but I've created another user and ...
0
votes
0answers
70 views

how to debug / resolve issue nfs mount is timing out on client

All, I have two VMs running Ubuntu 18.04.4 LTS. One has been set up to be an nfs server. The other I hope to be a client which I can mount a share from said server. I have followed instructions ...
1
vote
1answer
202 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 ...
1
vote
1answer
2k views

NFS server daemon fails to start at boot

I´m trying to export an external disk, so, I configured my nfs-server service to wait for disk1 to mount, however it fails. This is the situation after boot: $ systemctl status nfs-server.service ● ...
1
vote
0answers
96 views

DR for Docker persistent storage on NFS

At the moment we have a Docker Swarm setup with DTR, UCP etc using a local NFS server for DTR and persistent storage. We would like to have a DR setup at a remote data center which has high speed ...
0
votes
1answer
42 views

Issue mounting Ubuntu NFSv4 share on Windows 2012 R2

I'm having issues mounting an NFS share (Ubuntu 16.04) using NFSv4 on Windows 2012 R2 from what I understand 2012 R2 supports NFS v4.1, it looks to be defaulting to NFsv3 when running nfsstat -m. I'm ...
0
votes
0answers
143 views

Solving nfs “Stale file handle” caused by server reboot

This is a follow-up question to "Stale NFS file handle" after reboot as its solution doesn't work for me. My case is simple, after server rebooted, I'm getting "Stale file handle" on ...
1
vote
0answers
374 views

how should I proceed debugging NFS4+Kerberos?

I have a working NFS4 setup. The server is called bluebox.lan and it exports: /mnt bluescreen.lan(rw,no_root_squash,crossmnt) The client is called bluescreen.lan and it is able to mount bluebox's ...
0
votes
1answer
138 views

Are “*_squash” (all_squash/no_all_squash, root_squash/no_root_squash, anon_uid/anon_gid) options in NFSv4 still rellevant?

Nowadays NFSv4 uses /etc/idmapd.conf to do the mapping of usernames between server and client machines. So I don't get the point of having these "*_squash" options, which seems very "NFSv3-flavoured" ...
7
votes
1answer
1k 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 ...
1
vote
0answers
1k views

NFS file does not show up in listing but is there

I have an NFS server with a mount point that is mounted on several servers. I can access the files on all of them. On all of the clients, I am getting the following behaviour. $ ls _index_ssl....
3
votes
1answer
869 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, ...
0
votes
1answer
348 views

rsync closed failed error

I'm getting close failed error when copying files to nfs share randomly. what could be possible reason ? rsync version 3.1.1 rsync: close failed on "/nfs_share/data/.99865579700_0.gz.LgfpIk": Input/...
1
vote
0answers
148 views

CentOS 7 NFSv4 server + Fedora 30 NFSv4 client: command 'quota' does not work

I've got a CentOS 7 box serving NFSv3/4 exports - the served filesystem (users' home directories) is an ext4 partition (so, no XFS, which I get is more complicated for quotas) configured with usrquota ...
2
votes
0answers
190 views

Failing fast with an EFS NFS mount

We run a Java application distributed across a number of servers, part of which involves the writing and reading of shared files. This side of the application is currently held together by a bunch of ...
0
votes
0answers
126 views

EFS NFS performance on LIST operations

I have an AWS EFS drive mounted on a FTP server. I am seeing issues where performance becomes really poor occasionally. The public directory has about 10,000 small text files and under heaviish ...
1
vote
0answers
118 views

NFS issues with K8S

we're running a bunch of gitlabs on a k8s cluster. For persistence, we're using NFS mounts, specifically, we have one NFS export that is shared by all gitlabs. Currently, we have it mounted on all ...
1
vote
2answers
5k views

Use nfs version 3 on RHEL 7

I tested using nfs version 3 on my lab system, and it works fine. [root@server2 ~]# tail -1 /etc/mtab server1:/nfs /nfs nfs rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,...
1
vote
1answer
188 views

Parallel MPI_File_open failed on NFSv4 but ran on NFSv3

When using NFSv4, my client reported that their MPI program sometimes report file cannot open or file not found error. I compiled a sample MPI-IO program and confirmed that, if the MPI procs on ...
1
vote
1answer
70 views

How to get verbose information from `zfs get`

Running Ubuntu 14... "14.04.5 LTS, Trusty Tahr" ...with Ubuntu zfs... libzfs2/trusty,now 0.6.5.11-1~trusty amd64 [installed,automatic] mountall/trusty,now 2.53-zfs1 amd64 [installed,upgradable to: ...
1
vote
0answers
306 views

Linux NFS (v4) user namespace file permissions

I am trying to set up a rootless container setup using podman and am having a problem with file permissions on NFS (running NFSv4). Within the user namespace, I am able to create files as root on any ...
1
vote
1answer
1k views

fsc option is ignored when trying to use cachefilesd on ubuntu 18.04

I'm trying to set up cachefilesd on an nfs share with one of my servers. It's not working. The service is running, my drives are mounted, but it seems as if the "fsc" option is completely ignored. ...
3
votes
1answer
418 views

NFS server as a client of itself performs very poorly

I have set up an NFSv4 server. I am sharing files with Linux machines in a VM farm and Windows 7, 8, and 10 machines, so I need to share files with both NFS and Samba1. In the past, I have done this ...
0
votes
1answer
812 views

NFS client intermittent performance issues (backlog queue wait?)

I have a weird issue with one of the NFS clients (Ubuntu 16.04 LTS). I have been working for the past few days to try and debug this, but so far without success. After I mount the partition, ...
1
vote
0answers
349 views

NFS3/4 Performance Issues (Lock-ups) with macOS client using Kerberos

I am trying to access an NFS share using macOS High Sierra and I am having momentary system lock-up issues regardless of whether I use Finder or the command line to copy files to the share. For ...
1
vote
1answer
114 views

Recommended application and storage server network link over NFS

Background: I have a RHEL6 storage server (lots of HDs) and a RHEL6 Application server (little storage, lots of CPU/memory). They are currently connected to a 1GB Catalyst 2960-X switch. There is ...
0
votes
1answer
273 views

Does nfs persisent volume mount work in a single node kubernetes cluster?If so,how?

I have tried with the volume type 'Hostpath' and it worked fine.Apart from 'HostPath' are there any other volumes supporting single node cluster?
3
votes
1answer
714 views

macOS High Sierra issues mounting Kerberized NFSv4 shares

I'm using FreeIPA for LDAP/Kerberos and I've created a principal for a storage appliance (Dell/EMC UnityVSA VM). I have setup the VSA with a keytab from IPA, I've also setup within the VSA the LDAP ...
4
votes
1answer
9k 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/...
2
votes
1answer
1k views

Securing NFSv4 WITHOUT Kerberos on a public cloud?

I've lost enough hair trying to setup this Kerberos nonsense. Is there any way to secure an NFS v4 setup without using Kerberos on a public cloud, i.e: all servers have a public IP (there is no ...
3
votes
1answer
3k 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 (...
1
vote
1answer
119 views

Can not umount NFS directory (ignored)

I have a few servers that have NFS mounted directories. I have shut down the service that is using them, and fuser -m doesnt show any other processes using any files there. When i do "umount -at nfs" ...
2
votes
1answer
3k views

What exactly does nfs4_disable_idmapping parameter do?

I've been experimenting with user/group ID mapping (translation) in NFSv4. What I want to achieve is name based ID translation, that is independent of the actual UID/GID on the server and clients. ...
1
vote
2answers
2k views

How to configure NFSv4 mount so that owner of files created by root user on NFS client appear as 'root:root', rather than 'nobody:nogroup' on client?

I have an Ubuntu 16.04 server on which the Nextcloud snap is installed (nextcloud.lan), and an Ubuntu 16.04 NAS configured to serve files over NFSv4 (nas.lan). I would like to mount directory /var/...
1
vote
1answer
585 views

How does NFS figure out which Kerberos creds / principals to give access to?

I'm setting up NFS with Kerberos and following various guides, like NFSv4 with Kerberos on Ubuntu Wiki and How To Use Kerberos to Control Access to NFS Network Shares, amongst others. All guides ...

1
2 3 4 5