Questions tagged [nfsv4]

The tag has no usage guidance.

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

How do I stop dmesg messages about previously used NFS client mount?

In Linux 5.8.0, NFSv4 client was in use for some time, then server gone away from network, then I umount -f -l-ed it away. Typically I expect NFS-related messages to go away from kernel log, but now I ...
1
vote
1answer
20 views

Catalina NFS client -> Linux NFS server - mount dir always switched to root owner and mode 555; always unreadable

I'm attempting to get OSX to NFS mount to my Linux NFS server, which is a VM guest on the OSX machine. The point here is to allow reverse file system connectivity from the parent host to the VM as I ...
1
vote
0answers
24 views

NFSv4 server startup taking more time

I am trying to start nfsd daemon only for version 4. It takes more than 2.30 mins to come up. # time /usr/sbin/rpc.nfsd -d -N 2 -N 3 -V 4.1 8 rpc.nfsd: knfsd is currently down rpc.nfsd: Writing ...
1
vote
0answers
189 views

Connecting to NFS share hangs with Manjara/Arch

I've setup a fresh FreeBSD 12.1 server with NFS that I'm trying to connect Manjaro to. I wont go into too much detail here, as it's working fine with other clients (OS X machines, with cmd+k nfs://...
1
vote
1answer
134 views

Debian 10 fstab - Is there an option to prevent boot sequence hanging when device does not exist?

I have a Debian 10 machine which has a nfs mountpoint specified in fstab. This is the line 10.0.0.2:/mnt/md0 /mnt/md0 nfs4 _netdev,auto,nofail 0 0 I thought nofail would prevent my ...
0
votes
1answer
29 views

NFS client locks up after EXACTLY one hour

I have a Linux system (Fedora 32, kernel 5.7-rc2) booting from NFS. After exactly one hour it locks up and doesn't respond to anything. It's perfectly reproducible and journalctl does not show ...
1
vote
0answers
54 views

Network file sharing over WAN / Internet with unreliable or slow connection

Until recently our team was working together on a gigabit LAN with NFSv4 file sharing. All clients run Linux and the file server runs Linux. Our workflow and security were designed around a LAN. We ...
0
votes
1answer
304 views

NFS mount failed after upgrading server, no route to host, embedded, nfsvers=4

After hours of reading and try and error process i'd like to explain my nfs mount problem and solution. I was working for years on a virtual debian 8.5 host system to develop software for multiple ...
0
votes
0answers
19 views

How can we find the root cause for Nfs share file deletion?

I have one Nfs server running on SLES 12 , and there are two nfs clients which are mounted to the Nfs server. But during some operations some important file in Nfs share are getting deleted by some ...
-1
votes
1answer
47 views

Mount bind mounts after local filesystem mount

I want the bind mounts to be mounted only after the physical filesystems have been mounted. This is even more important because one of the filesystems has to be mounted manually as it's LUKS encrypted ...
0
votes
0answers
67 views

How can I check if the network interface used for an NFS mount is connected?

I have an NFS server that I connect to using different networks depending on circumstances. Sometimes I might use Ethernet, sometimes I might use Wi-Fi, sometimes I'm connected to a different network ...
0
votes
3answers
808 views

How to install nfslock daemon

I want to learn the NFS locking mechanism I surfed on net. Using nfslockd or rpc.lockd we can do. But in Debian there is no package. Anyone please help me whether shall we do or not in Debian.
1
vote
2answers
808 views

Why is NFSv4 not translating POSIX ACL's in a usable way?

I have an XFS filesystem in which some folders (using mode setting) have no public accessiblity, with group owner having read-only privileges. There is a program (which runs as user cryosparc_user) ...
0
votes
0answers
168 views

Restricting NFS share access to particular IPs or hosts and restricting others on suse

I have created a shared folder /data01/share on one Suse Gnu/Linux and also made entry for host(client) machine in /etc/exports /data01/share  10.241.200.53(rw,sync,no_root_squash,no_subtree_check) . ...
1
vote
0answers
51 views

CentOS NFS client can't read a big size NFS file

NFS server CentOS 7.5 NFS client CentOS 7.2 Client can read 4KB NFS file,however can't read big file such as 20GB. when issue a command to show the big file, the process would be uninterruptible. ...
0
votes
1answer
1k views

mount a NFS volume on a container

I have a NFS server that export a file-system. showmount -e nfsserver Export list for nfsserver: /opt/application/aghas0/docker client1,client2 on the client2 server I have mounted the file-system ...
4
votes
0answers
736 views

What happens when you disable NFS server delegation?

We are facing issues with NFS 4.1 on RHEL 7.6. We have a lot of applications on this server and GitLab is one of them and it is impacted the most. Excessive NFS network traffic (due to a bug with NFS ...
1
vote
0answers
104 views

FreeIPA Kerberized NFSv4 Group Membership Issue

We have a FreeIPA domain running with several NFS clients auto-mounting a Kerberized NFSv4 server (krb5p). We're running the latest RHEL 7.6 on all nodes and everything is working great with one ...
2
votes
0answers
167 views

NFS mounting issues

Having a really weird problem with NFS mounts. When I mount my exports on my clients the directory and the files within are readable, but I can't write to the exported directory from the client ...
0
votes
0answers
178 views

Unable to mount from the newly added second interface of a Ubuntu NFS server

I have a Ubuntu NFS server with single interface (just one IP address i.e 192.168.1.13) configured for both network and storage traffic. To avoid performance issues, I have got the second interface ...
3
votes
0answers
195 views

Is nfs4_setfacl supposed to be applied from the client machine or server?

I'm really confused on NFSv4, specifically, I don't understand how to set the permissions. When I attempt to use the command nfs4_setfacl I get error message Operation to request attribute not ...
0
votes
0answers
1k views

nfs problems with jumbo (MTU=9000) but works with default (MTU=1500)

I have a local network set up between two servers running ubuntu 18.04 server. They are connected by a 10G network switch (actually 2 bonded connections 10G each). For performance reasons, in /etc/...
1
vote
0answers
3k views

mount.nfs: access denied by server while mounting <SERVER_IP>:/mount/test

Have a strange issue with mounting an NFS share. Server: OS Debian 9. /etc/exports: /var/www <CLIENT_IP>(rw,sync,fsid=fd095945-8ace-4f31-b349-91bf805ca2ea,no_root_squash,crossmnt,insecure,...
3
votes
0answers
472 views

Failed writes after a while on mounted nfs volume

I have mounted an nfs drive on the machine. I can see it with the following command: $ df -aTh | grep nfs … unrelated volumes … 10.200.30.100:/export/pvc-70..1d nfs4 976M 2.0M 907M 1% /var/lib/...
1
vote
0answers
669 views

NFS Issue w/ one mount (stale file handle)

I have 5 NFS exports from an NFS server. From the NFS client, I can connect to all except one I keep getting "Stale file handle". The only difference I can see is that the NFS exports are on different ...
0
votes
1answer
370 views

Does NFS requires a directory with full permission in order to share with other clients?

I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access ...
1
vote
0answers
371 views

NFS server seems to kick diskless nodes off

I'm currently helping setting up a lab that will use diskless nodes for some MPI and CUDA computing. The distribution of choice is CentOS 7. To set up the diskless nodes I've followed the guide here. ...
1
vote
1answer
639 views

Mounting nested ZFS filesystems exported via NFS

I have a linux (ubuntu) server with a zfs pool containing nested fileystem. E.g.: zfs_pool/root_fs/fs1 zfs_pool/root_fs/fs2 zfs_pool/root_fs/fs3 I have enabled NFS sharing on the root filesystem (...
3
votes
0answers
337 views

~1000ms latency touching file on nfs mount

I have an NFS mount where the server is on the same subnet as the client. When I time touch testempty from the client, I get: touch testempty 0.00s user 0.00s system 0% cpu 1.325 total The time ...
1
vote
0answers
3k views

“incorrect mount option was specified” when mounting krb5p nfs4 partition on Ubuntu

I have a NFS4 share running with krb5p. I have no problems accessing it from CentOS clients, all that is required is: yum install krb5-workstation setup krb5 (edit krb5.conf, setup keytab) systemctl ...
1
vote
0answers
1k views

How to access NFSv4 shared folder with Kerberos authentication without root rights

I'm setting up a NFSv4 shared folder with Kerberos authentication. The issue I'm facing is that when the user on the client machine runs mount /mnt (see the fstab configuration below) he's not able to ...
1
vote
0answers
224 views

How can I clear active NFS client-side server/volume entries that have become disassociated with any mounted filesystems? [duplicate]

I have a situation where server-side mountpoints sometimes don't show up over NFS with a certain glitchy server. Typically restarting nfsd and/or fiddling with /etc/exports fixes things, but today ...
1
vote
0answers
735 views

Permission denied on NFSv4 shared directory with authentication with SSO (OpenLDAP + Kerberos)

I'm trying to set up Single Sign On (SSO) with Kerberos and LDAP but I have an issue with NFSv4 with Kerberos for authentication and encryption (krb5p) service. My environment: 1 server (named ...
0
votes
0answers
546 views

NFS 'no_wdelay' export option not being applied

I have an NFS server configured and its up and running without an issue. But I need to enable the no_wdelay option on the exports. I have modified the /etc/exports file to be as following(added ...
1
vote
0answers
144 views

Can my client ask my NFS server which minor version of NFS4 is available?

Is there a way from a client machine to ask an nfs server which minor versions of NFSv4 are available without actually mounting? I'm trying to programmatically audit which NFSv4 versions are provided ...
3
votes
2answers
1k views

How can I identify who is writing to NFS server and where are these writes coming from?

Our CentOS6 NFS export is near 100% capacity. We've turned off NFS for now and are trying to move data around. I temporarily turned it back on with logging on and was surprised to see data roaring ...
11
votes
2answers
11k views

How to get NFSv4 idmap working with sec=sys?

I have a Server (Debian) that is serving some folders trough NFS and a Client (Debian) that connects to the NFS Server (With NFSv4) and mounts that exported folder. So far everything is fine, I can ...
0
votes
0answers
114 views

How to set ACLs so a user can control any dir content, but not the dir itself and not file permissions?

I'm using FreeBSD and ZFS (I think FreeNAS uses NFSv4 ACLs). I want to grant access to a group of users (group name: publicfiles_rw_users) and allow them to modify, create, and delete all files and ...
0
votes
1answer
1k views

Nfs4_setfacl reports error on files of mounted folder

I mounted an nfsv4 folder (both client and server are CentOS 7.4) via command $ sudo mount -t nfs -o v4.0,sec=krb5 ark-centos7-ker.qa.arkivio.com:/export/nfs1 /nfs4-mnt-dir created a file via: ...
10
votes
1answer
6k views

implications of using NFSv4 fsid=0 and exporting the NFS root to entire LAN (or not)

In tutorials on NFSv4 it is common to see the recommendation to export a shared root directory to the entire subnet similar to this from the Arch wiki: /etc/exports: /srv/nfs 192.168.1.0/24(...
3
votes
0answers
838 views

Mysterious TCP connection when using NFSv4

When using NFSv4, I expected that all traffic would be on port 2049. This seemed to be the behavior in RHEL6. However, in RHEL7, when a client makes a connection to a server on port 2049, the server ...
0
votes
0answers
152 views

NFSv4 mounts showing all entries as directories

Starting around kernel 4.14.10, I noticed a strange issue happening with my NFS mounts where all entries in a directory are being shown as directories if they are mounted with version 4. Here are my ...
5
votes
1answer
1k views

archlinux netboot diskless node/system, systemd on NFS (v4) fails, rpc.idmapd

updates: 5 (20171209) updates: 5 (20171210) mount -t nfs4 [SERVER IP]:/archlinux /mnt works. ss -ntp | grep 2049 the client establishes a connection to the server before systemd begins. NSF4 id ...
2
votes
0answers
334 views

Setting up a kerberized HA NFS share

I'm trying to set up a kerberized NFS share from an HA cluster. I've successfully set up a krb-aware NFS share from a single server, I'm using a mostly identical configuration on the cluster. Exports ...