Questions tagged [nfsv4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

NFS 4 and 3 at the same time, and tcp and udp

I have two servers connected via infiniband, and I am testing NFS performance. This is on RHEL 7.9. NFS-server /etc/exports /data *(rw,no_root_squash) /ramdisk *(rw,no_root_squash) # exportfs -s /...
  • 4,553
0 votes
2 answers
8 views

samba sharing nfs mounted folder and SELINUX

in RHEL 7.9, samba-4.10.16-19, nfs-utils-1.3.0, server A and server B both have SELINUX as enforcing from server A, the folder /data is NFS exported. on server B, mount A:/data /data successfully ...
  • 4,553
1 vote
2 answers
549 views

Mount NFS - "operation not permitted" in Proxmox container

I'm trying to mount a simple NFS share, but it keeps saying "operation not permitted". The NFS server has the following share. /mnt/share_dir 192.168.7.101(ro,fsid=0,all_squash,async,...
  • 101
0 votes
0 answers
23 views

how to get NFS mount vers=4.2, only 4.1 happens

RHEL 7.9, identical linux OS install between two servers on a 1gbps LAN On the NFS server a cat /proc/fs/nfsd/versions shows -2 +3 +4 +4.1 +4.2 the /etc/nfs.conf and /etc/nfsmount.conf and /etc/...
  • 4,553
0 votes
1 answer
94 views

NFSv4 mount that works fine for Ubuntu 20.04, fails on RHEL 8.6

I have an NFSv4 server that is an RHEL 7.9 box. Our Ubuntu 20.04 boxes can mount shares from this server with no problem. Now I'm setting up an RHEL 8.6 box, but it fails to mount the share with ...
0 votes
0 answers
19 views

Normal user can't see Azure NFS fileshare mount on linux client server and this exported with no_root_squash option

Azure NFS file share mounted on Linux server and this exported with no_root_squash option, as a root we are able to see by using df -hT and we can enter into mount and we can read and write data but ...
  • 1
1 vote
0 answers
162 views

Mounting NFSv4 NAS folders hangs

I have a QNAP NAS sharing folders using NFSv4. Until now I used to mount my folders as follows: $sudo mount -t nfs -o nfsvers=4 192.168.1.50:/Music ~/Music/ 192.168.1.50 is the IP of my NAS and 192....
  • 113
0 votes
1 answer
45 views

Kerberos NFS encryption stops working after clock moved backwards

I have a system that uses krb5p security for its NFS mounts. It seems to all work well except when the time is moved backwards (a few hours or so, not sure the exact threshold). When the clock is ...
1 vote
1 answer
239 views

getting nfs 4 to work in redhat/centos 7

Running RHEL 7.9 and trying to do nfs between a few servers on a LAN. I am always getting nfs v3 as the mount. Is there a way to get the latest version of nfs to happen, which is 4.2 I think according ...
  • 4,553
0 votes
1 answer
99 views

what's the difference: /etc/nfs.conf vs /etc/sysconfig/nfs in RHEL/CentOS 7

in RHEL 7.9, there is /etc/nfs.conf and /etc/sysconfig/nfs. why the two? which one should be edited, and should one and not the other be edited ? It seems /etc/nfs.conf has more in it, but both have ...
  • 4,553
0 votes
1 answer
250 views

Infiniband RHEL7, NFS RDMA setup & help

Hoping someone can provide help as to what I am doing wrong or missing: Have 3 test servers (hostnames node1..3) each with a Mellanox MT28908 family infiniband card, model CX653105A Have Mellanox HDR ...
  • 4,553
0 votes
1 answer
60 views

NFS Mount keeps coming back after deleted

I have an NFS mount that keeps coming back after I have deleted it from /etc/fstab and from YAST (SLES15 SP2). I don't see any auto.fs or auto mounts and I don't know where this is coming from. ...
  • 11
0 votes
2 answers
227 views

How to mount nfsv4 folder directly instead of root

Running CentOS 8 server side: /etc/exports: /home/share *(ro) /home and /home/share is owned by root.root and has 755 permissions on directories, 644 permission on files. client side: mount -t nfs4 ...
  • 249
0 votes
0 answers
54 views

Mounting subdir to a new NFS

I have a directory that is mounted with NFS. 10.159.31.81:/var/lib/phone /var/lib/phone nfs hard,bg,intr,vers=3,noatime 0 0 I want to test my new NFS servers but I don't want to move everything over. ...
1 vote
1 answer
1k views

NFSv4 wrong effective user / owner, sec=krb5 mount squashes to anonymous user

I'm setting up kerberized NFSv4 for personal use manually configured NFS, KDC no nameservers (using /etc/hosts instead), no LDAP same users on all machines (not necessarily the same id) and using id ...
  • 41
-1 votes
1 answer
236 views

How to give full access for LDAP users on a NFS volume?

I have a NFS volume which is mounted on a RHEL VM. I'm accessing the files via a LDAP server. When a LDAP usera accesses somefile, the same file can not be modified (for example, touched) by another ...
  • 1
2 votes
2 answers
1k views

NFS performance over high latency is poor, rsync over ssh is about 100x faster

We are using rsync to synchronize data from two NFS servers. One NFS server is on the east coast, the other is on west coast. RTT is about 110ms. On the east coast NFS server I mount the west coasts ...
2 votes
0 answers
2k views

How to make nfsv4 ID mapping work between macOS Big Sur client and Ubuntu 20.04 server 2021

Can nfsv4 ID mapping work between macOS and Linux without an Open Directory server? nfs version is 4, all versions 1…3 are disabled Kerberos is MIT Share sec is krb5p The realm is REALM.COM and nfs ...
  • 51
1 vote
1 answer
842 views

Autofs fails to mount nfs-shared autofs bind mounted directory, but manual mount succeeds

Apologies for the long read below. Hopefully this will give enough context and traces so someone can help me. Context I store user home directories on some zfs dataset (one per user), where each user ...
  • 11
1 vote
0 answers
127 views

granting a single client rw access to an NFS-subdirectory, while others have a more restricted access

So I have an NFS-server that exports a large share to the entire network. One of the clients requires write-access as root to a subdirectory of the share. This client only requires access to that ...
  • 6,021
0 votes
0 answers
547 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 ...
  • 5,216
2 votes
1 answer
518 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 ...
  • 962
1 vote
0 answers
49 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
0 answers
973 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://...
  • 191
1 vote
1 answer
2k 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
1 answer
84 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 ...
3 votes
0 answers
413 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 ...
  • 16k
0 votes
1 answer
1k 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 ...
  • 101
-1 votes
1 answer
151 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 ...
  • 583
0 votes
3 answers
3k 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.
3 votes
2 answers
2k 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) ...
  • 714
0 votes
1 answer
925 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
0 answers
90 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. ...
  • 23
0 votes
1 answer
2k 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 ...
  • 11
4 votes
0 answers
1k 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,179
1 vote
0 answers
145 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
0 answers
250 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 ...
  • 17
3 votes
0 answers
375 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 ...
1 vote
0 answers
2k 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/...
  • 141
1 vote
0 answers
5k 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
0 answers
584 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/...
  • 81
1 vote
0 answers
1k 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 ...
  • 11
0 votes
1 answer
673 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
0 answers
559 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
1 answer
1k 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
0 answers
457 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 ...
2 votes
1 answer
5k 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
0 answers
2k 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 ...
  • 31
1 vote
0 answers
342 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 ...
  • 919
2 votes
0 answers
2k 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 ...
  • 31