Questions tagged [nfs4]

Network File System version 4 (NFSv4)

Filter by
Sorted by
Tagged with
2 votes
1 answer
143 views

Do we need to share /var/lib/nfs for NFSv4 recovery process?

As I read from NFSv4 recovery process, client also held states and can help in rebuilding the NFS state in case NFS server crashes. I am trying to build a active-passive NFS HA using drbd. Do I need ...
user2294468's user avatar
0 votes
1 answer
146 views

NFSv4 with sec=krb5: Encryption type aes256-cts-hmac-sha384-192 not permitted

The upgrade from Fedora 38 to 39 broke mounting NFSv4 shares from a Synology NAS using kerberos (sec=krb5). Using mount -v -t nfs -o nfsvers=4,minorversion=1,sec=krb5 10.123.99.2:/volume1/video /mnt/ ...
sebschub's user avatar
  • 207
0 votes
0 answers
20 views

How do I get the SCIM group name from the SCIM group ID?

I don't know anything about Azure SCIM. My customer sets up the SCIM groups. nfs4_getfacl can tell me the numerical IDs of files and directories but I don't know how to match those with group names. ...
mr.zog's user avatar
  • 931
0 votes
0 answers
59 views

Explanation is required for the logs of the NFSD service - laundromat_main - sleeping for XX seconds

Could you provide an explanation of the messages from the log file /var/log/messages? What does it mean? NFSD: laundromat service - starting NFSD: laundromat_main - sleeping for XX seconds Note: There ...
Александр Варыгин's user avatar
1 vote
1 answer
625 views

NFSv4 fsid Option And The Purpose Of Export Roots

My file server just has one big partition sharing stuff out under /exports. So using the old style NFSv3 exports I had: /exports/home 192.168.1.0/24(rw,sync,no_subtree_check) /exports/root ...
Tony Cooper's user avatar
0 votes
0 answers
88 views

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 ...
gerard's user avatar
  • 303
0 votes
2 answers
82 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
199 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
  • 931
0 votes
1 answer
47 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
841 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
419 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
50 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
4 votes
2 answers
766 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
0 votes
0 answers
198 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
325 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
2k 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
2 votes
1 answer
1k 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
  • 381
0 votes
0 answers
182 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
905 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
719 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
1k 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
347 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
470 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
1 vote
1 answer
505 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
609 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
1k 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
366 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 [email protected] group. One is /exports/directo_informatica/, which ...
tizo's user avatar
  • 1
1 vote
1 answer
291 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
1k 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
292 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
  • 692
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
2k 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
662 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....
marshit's user avatar
  • 31
3 votes
2 answers
2k 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
  • 141
1 vote
0 answers
242 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
757 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
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
1 vote
1 answer
2k 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
1 vote
0 answers
2k 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
  • 435
2 votes
0 answers
695 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
5k 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
  • 238
2 votes
3 answers
2k 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
309 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
5k 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
307 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
2k 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
1k 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
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,414
1 vote
1 answer
2k 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
1k 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/[email protected] ...
ifndef's user avatar
  • 31

1
2 3 4 5 6