Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [nfs4]

Network File System version 4 (NFSv4)

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 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 ...
user avatar
  • 1
0 votes
0 answers
9 views

root:daemon with NFSv4.1, but not with NFSv4.0?

servername:~ # cat /etc/idmapd.conf [General] Verbosity = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs Domain = good.domain [Mapping] Nobody-User = nobody Nobody-Group = nobody servername:~ # ...
user avatar
  • 21
1 vote
0 answers
37 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 11
0 votes
1 answer
41 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 ...
user avatar
1 vote
0 answers
41 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 ...
user avatar
  • 541
1 vote
1 answer
44 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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
  • 1
0 votes
0 answers
29 views

removing inaccessible datastore in vmware nfs41 - not typical sytuation

after storage metrocluster failure my datastores became inaccessible. I logged into esxi host via ssh listed storages and removed them using following commands: esxcli storage nfs41 list esxcli ...
user avatar
  • 311
0 votes
0 answers
27 views

no_root_squash over NFSv4 does not have any effect

I used this option no_root_squash with NFSv3 and it works as expected. Then I just switched to NFSv4 while using the same option no_root_squash On the NFS Client the files and folders that owned by ...
user avatar
1 vote
1 answer
55 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 ...
user avatar
1 vote
0 answers
295 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 ...
user avatar
0 votes
0 answers
55 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@...
user avatar
  • 456
2 votes
0 answers
283 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/...
user avatar
0 votes
0 answers
176 views

Error when exporting exfat disk by nfs

I have the following fs: /dev/sdb1 exfat 60085120 11776 60073344 1% /mnt/apuntes in the /etc/exports: /mnt/apuntes 192.168.2.20(rw,sync,no_subtree_check) the service is started ...
user avatar
  • 113
0 votes
1 answer
151 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(...
user avatar
1 vote
1 answer
101 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....
user avatar
0 votes
0 answers
35 views

NFS4 late mounts on server are not visible to clients

I have fairly simple working NFS version 4 setup on Ubuntu 20.04LTS with one server and few clients (all same OS). I export /mountpoint. My /etc/exports on server looks like this: /export *(...
user avatar
  • 121
1 vote
1 answer
274 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 ?...
user avatar
  • 121
1 vote
0 answers
62 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....
user avatar
1 vote
1 answer
103 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,...
user avatar
2 votes
2 answers
2k 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 ...
user avatar
  • 500
1 vote
1 answer
195 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: /...
user avatar
  • 13
0 votes
0 answers
521 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 ...
user avatar
  • 405
1 vote
0 answers
113 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 ...
user avatar
  • 21
1 vote
1 answer
1k 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-...
user avatar
  • 216
1 vote
3 answers
242 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 ...
user avatar
0 votes
0 answers
124 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 ...
user avatar
0 votes
0 answers
133 views

NFS4 background client wont start on reboot and connection timeout

The Sort Version A NFS4 mount in fstab normally starts a background service to keep retrying when the mount host is not available. However only during a reboot and on a connection timeout does the ...
user avatar
0 votes
1 answer
496 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): -...
user avatar
  • 105
1 vote
1 answer
60 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 ...
user avatar
0 votes
1 answer
368 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 ...
user avatar
2 votes
1 answer
324 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 (...
user avatar
  • 23
3 votes
1 answer
314 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 ...
user avatar
  • 1,396
1 vote
1 answer
703 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 ...
user avatar
3 votes
1 answer
620 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 ...
user avatar
  • 31
2 votes
1 answer
143 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 ...
user avatar
2 votes
0 answers
874 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 ...
user avatar
4 votes
1 answer
5k 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 ...
user avatar
0 votes
1 answer
211 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 ...
user avatar
  • 119
2 votes
1 answer
90 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 ...
user avatar
2 votes
0 answers
120 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-...
user avatar
  • 39
1 vote
1 answer
2k 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 ...
user avatar
2 votes
0 answers
696 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 ...
user avatar
  • 574
2 votes
1 answer
614 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 ...
user avatar
2 votes
2 answers
5k 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 ● ...
user avatar
  • 159
1 vote
0 answers
140 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 ...
user avatar
0 votes
1 answer
99 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 ...
user avatar
0 votes
0 answers
285 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 ...
user avatar
  • 113
2 votes
0 answers
596 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 ...
user avatar

1
2 3 4 5 6