Questions tagged [nfs4]

Network File System version 4 (NFSv4)

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

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 ...
francisaugusto's user avatar
1 vote
1 answer
58 views

How does one set ownership of a directory using nfs4_setfacl?

Or put another way, when I see @OWNER in a nfs4 ACL does this @OWNER refer to a local Unix/Linux user? I need to make an AD user (without a corresponding local account) the owner of a directory on a ...
mr.zog's user avatar
  • 911
0 votes
1 answer
25 views

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 ...
Stkel's user avatar
  • 1
1 vote
1 answer
118 views

How can I mount an NFSv4 export with multiple IPs

I have a Synology with 2 controllers exporting an NFSv4 share. The NFS export can be accessible via any of the 2 IPs (which are on different subnets). How on a CentOS/RHEL/Rocky Linux distro, can I ...
cohortq's user avatar
  • 475
2 votes
0 answers
72 views

Change UID in influxdb Docker container when running in Kubernetes

When mounting persistent storage for influxdb container the NFS storage ownership is changed to uid 1000 when container is run. Need to have a known RHEL host user (2000) have ownership of the file ...
Ken E's user avatar
  • 21
1 vote
0 answers
20 views

NFSv4: machine gets unresponsive when share is accessed without ticket

We are implementing NFSv4_kerberos for mounting of home directories on a RHEL 9 machine. The think is that if a user has a cronjob that writes to the mounted homedir after the ticket expiration, the ...
francisaugusto's user avatar
2 votes
1 answer
88 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
  • 123
0 votes
0 answers
66 views

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 ...
Grégory Hare's user avatar
0 votes
1 answer
50 views

NFSv4 and CentOS

I have a storage server, running Rocky 8, and multiple clients, using Rocky 8, CentOS 7, and Debian 10/11, that connect via NFS with different exports for different file systems. One of the file ...
Chris Woelkers's user avatar
2 votes
1 answer
365 views

NFSv4.1 mount is extremly slow until remount

I have an issue that I don't know how to debug. I hope you can help me further with this. In my group, I administer a Linux compute cluster that consists of multiple compute machines and a Synology ...
Homan's user avatar
  • 21
1 vote
1 answer
272 views

Which ports are relevant for directing NFS traffic over iptables (or any other way) to a server behind a firewall server

I read that NFS v4 requires only port (2049). This is the post I relied on. However, if I do a rpcinfo -p before starting nfs, I see: rpcinfo -p program vers proto port service 100000 4 tcp ...
Sunny's user avatar
  • 371
0 votes
0 answers
191 views

NFSv4 TCP reconnect fails after network failure due to iptables not tracking connection

I have a NFSv4 setup via TCP, /etc/fstab: nfs-server:/share /mount nfs4 tcp,hard,intr,rw,port=2049 0 0 A few days ago we had a network failure and multiple clients are still stuck trying to ...
fodinabor's user avatar
  • 101
0 votes
0 answers
96 views

NFSv4 with Kerberos takes a long time to mount

I have an NFS server with Kerberos authentication (Debian 11). If I want to mount a share on a client for the first time after a restart, this takes 10-12 seconds. If I then mount another share from ...
Nick's user avatar
  • 1
1 vote
1 answer
513 views

impossible to mount nfs shares. no traffic between client and server when executing the mount command

Both nfs client and server are redhat enterprise linux. there is not firewall between the servers. The nfs server has the right shares and data in /etc/exports. all the services are up and running. ...
danidar's user avatar
  • 53
1 vote
1 answer
460 views

Running NFS server on Kube StatefulSet pod

I have a Kubernetes cluster setup with 2 StatefulSets in a Kube Namespace: NFSserver Statefulset defined with a "headless" service that has 1 pod with an attached persistent volume and ...
DavidG's user avatar
  • 113
0 votes
0 answers
207 views

Default file and directory permission for NFS mount via AutoFS

I can't figure out how to configure AutoFS to mount the NFS share in a way that all files and/or directories are created with umask=002 or 0777. All files are 644 and 755 for directories which seems ...
doom4's user avatar
  • 101
0 votes
0 answers
569 views

Debian 11: Unable to mount NFS directory at startup running in VMWare Player

I'm working to replace an older Ubuntu 20 VM running on my desktop (VMware Workstation 16 Player) with a new VM running Debian 11. The network adapter is set to "Bridged". Everything has ...
John Heyer's user avatar
0 votes
0 answers
282 views

Linux NFS client sometimes gets stuck using lots of CPU and transferring data slowly

I've got several Linux NFS clients which mount filesystems from a Linux server. It works most of the time, but sometimes the clients get stuck in a mode where they're really slow. I've looked at lots ...
Brian Silverman's user avatar
0 votes
0 answers
816 views

ESXi 7.0 mounting NFSv4 datastore unable to provision OVAs, NFSv3 works fine

We have an Ubuntu 20.04 host using ZFS and the sharenfs option: root@host:~# zfs get sharenfs pool/enc/esxi NAME PROPERTY VALUE ...
Xyl's user avatar
  • 1
1 vote
1 answer
209 views

Kerberized NFS4 takes 5 seconds to open a file

I set up a NFSv4 server and a client both running Debian 11.3 on Linux 5.10.0-13. It basically works i.e., I see all files with correct permissions and can open, modify, etc. However, opening a file ...
Lars Hanke's user avatar
0 votes
0 answers
297 views

Which Cipher Is Being Used To Encrypt NFSv4 With "sec=krb5p"?

I am using NFSv4 with sec=krb5p encryption enabled on a CentOS 7 client & server. My NFS shares mount flawlessly at boot-time, and when I query my keytab file I am able to view the list of ...
Will's user avatar
  • 11
0 votes
1 answer
348 views

NFSv4 and kerberos: access denied 50% of the time

We are trying to mount NFSv4 shares on RHEL 8 clients, with kerberos. We have a very similar setup on another environment, and it worked fine. But on this setup, it happens that we get access denied ...
francisaugusto's user avatar
1 vote
0 answers
448 views

PCS Cluster - Binding nfsserver resource to specific IP

I'm trying to deploy a HA NFS Cluster Architecture with PCS on Rocky Linux 8.5 . Current kernel and nfs related package versions, pcs configurations are shown with detail below. I'm not able to ...
Aesnak's user avatar
  • 571
1 vote
1 answer
593 views

When trying to nfs4 mount a share with sec=krb5 I get "not exported" error message on nfs server

I run two nfs servers with user home directories and other shares on them. The servers offer kerberized nfsv4 mounts as well as old v3 ones. Until recently I was able to nfs4-mount a krb5-exported ...
rainer042's user avatar
0 votes
1 answer
262 views

NFSv4 permissions issues with an exported glusterfs

I have a situation with kernel NFS server. I have two exports with exactly the same ACLs, with full permissions for the informatica@adtest.xx.xx.xx group. One is /exports/directo_informatica/, which ...
tizo's user avatar
  • 1
1 vote
1 answer
188 views

How to export shares so that users don't create file as root

I am trying to export home directories from my NAS to ubuntu clients - the server is a TrueNAS Scale, which is Debian based. Kerberos works, so users get the proper tickets to authenticate to the ...
francisaugusto's user avatar
3 votes
0 answers
935 views

NFS server disrespects anonuid, anongid

I exported an NFS share from a server and mounted it from a client. I got permission denied errors when I tried to access it, wondered why. Made the export world-writable, created a file there, and it ...
MegaBrutal's user avatar
0 votes
0 answers
216 views

NFS4 + Kerberos and ownership of mounted share

I have the following setup: NFS4 server on Debian Buster, Kerberos server on the same machine, no LDAP or AD. The hostname is bohr.digital. List of principals: kadmin/admin@DIGITAL kadmin/bohr.digital@...
QkiZ's user avatar
  • 604
2 votes
0 answers
2k views

NFS mounts folders, but no files

I have a problem getting files to show up using an NFSv4 mount between Server: Ubuntu 20.04, 192.168.1.1 Client: Ubuntu 18.04, 192.168.1.2 On the server, I have a folder and file /home/server/files/...
Darien Marks's user avatar
0 votes
1 answer
943 views

Can't mount exported directory as NFS version 4

I'm trying to create a simple NFSv4 export. What I did so far: My exports file: /srv/nfs4 <myipnet>/255.255.255.0(rw,sync,fsid=0,no_subtree_check) /srv/nfs4/homes <myipnet>/255.255.255.0(...
Standard's user avatar
1 vote
1 answer
397 views

NFSV4 w/CHMOD & CHGRP

I'm just starting off with NFSV4 and had a few questions. So normally when creating an NFS share on a NAS filer and mounting on a client I would run a chmod & chgrp to set things up the way I want....
user16411104's user avatar
1 vote
1 answer
1k views

how to disable/remove nfs4 acl, and back to original linux access control?

I have add nfs4 acl for a directory in nfs client, but can not use "chown/chgrp" after add nfs4 acl, now I want to give up nfs4 acl, and back to original linux simple access control, how to ?...
Levin's user avatar
  • 121
1 vote
0 answers
171 views

Ubuntu/Debian client don't use NFSv4

I'm try to create a connection to a NFSv4 only server. But the clients try to downgrade the protocol versions: mount -v -t nfs -o nfsvers=4 my-nfsv4-only.server:/exports/storagetest storagetest mount....
Tina Burschka's user avatar
1 vote
1 answer
483 views

NFS multiples NIC

I have install nfs server into Ubuntu Hirsute, using two NIC, like that: /nfs 172.16.0.0/24(fsid=0,rw,insecure,sync,wdelay,no_subtree_check,no_root_squash) /nfs 172.18.0.0/24(fsid=0,rw,insecure,...
Gilberto Ferreira's user avatar
4 votes
4 answers
5k 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
  • 550
1 vote
1 answer
1k views

NFS not allowing hosts specified in config to mount share

I am having an issue where NFS is refusing to allow hosts that are specified in the config file to mount the share. I am running an NFS server on Debian 10, BTRFS filesystem. my /etc/exports reads: /...
james's user avatar
  • 113
0 votes
0 answers
1k views

kernel: nfs: nfsserver server not responding, timed out

We have a NFS client which print in to messages this error: kernel: nfs: server nfsserver not responding, timed out it is printed about every minute. Normally I will think there had a communication ...
AtomiX84's user avatar
  • 425
2 votes
0 answers
408 views

Start idmapd at every boot

We suddenly had a "nobody" issue on NFSv4 mounts on SLES 12.5 machines. The: systemctl unmask nfs-idmapd.service systemctl enable nfs-idmapd.service systemctl restart nfs-idmapd.service ...
jim7475's user avatar
  • 51
1 vote
1 answer
4k views

Kubernetes can't mount NFS volumes after NFS server update and reboot

After zypper patch'ing NFS server on openSUSE Leap 15.2 to latest version and rebooting, nodes in kubernetes cluster (Openshift 4.5) can no longer mount NFS volumes. NFS server version: nfs-kernel-...
Andrew's user avatar
  • 228
1 vote
3 answers
1k views

flock fails with NFSv4

I don't know why this code is not working under NFS4, using NFS3 works perfectly. The idea is to avoid the file being written while a process is still reading it. I would like to debug, but our ...
Julia Fischer's user avatar
0 votes
0 answers
182 views

NFS4 works on one server but not the other

I have 2 VMs, both running debian buster. One is a test VM, the other my production file server. On both I installed the nfs server package through "apt install". I created a share on the ...
realShadow's user avatar
0 votes
1 answer
3k views

What is the difference between mount -t nfs3 and mount -t nfs -o nfsvers=3?

While mounting a share I had issues with idmapping. Mounting with sudo mount -t nfs 192.168.0.23:/myshare ./myshare -o nolock and listing its contents yielded this (note the nobody and 4294967294): -...
gmelodie's user avatar
  • 105
1 vote
1 answer
200 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 ...
Xavi Montero's user avatar
0 votes
1 answer
1k 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 ...
Xavi Montero's user avatar
2 votes
1 answer
835 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 (...
Dipr's user avatar
  • 23
3 votes
1 answer
983 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,387
1 vote
1 answer
1k 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 ...
JohnTitor's user avatar
3 votes
1 answer
869 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 ...
ifndef's user avatar
  • 31
2 votes
1 answer
218 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 ...
Andreas Schuldei's user avatar
3 votes
0 answers
1k 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 ...
Jordan Ketterer's user avatar

1
2 3 4 5 6