Questions tagged [nfsv4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
27 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. ...
0
votes
2answers
48 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 ...
0
votes
0answers
29 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. ...
0
votes
0answers
13 views

NFSv4 getting mapid without running nfs-server

I'm having an issue where I have a NFSv4 mount, and if I disable the "rpcidmapd" service, it will not translate user ids anymore, and will fall to "nobody", and then the users ...
1
vote
1answer
911 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 ...
-1
votes
1answer
96 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 ...
0
votes
0answers
14 views

inconsistent sys.path using python binary on an nfs server

I have been running virtual environment python binaries located on nfs server from clients for the past few years without major problems. But lately when I set up a new server and ran its python ...
1
vote
2answers
600 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 ...
1
vote
0answers
920 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 ...
1
vote
1answer
423 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 ...
1
vote
0answers
42 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 ...
0
votes
0answers
432 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 ...
2
votes
1answer
393 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
36 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
772 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
970 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
48 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 ...
2
votes
0answers
287 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
782 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 ...
-1
votes
1answer
109 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
3answers
2k 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.
2
votes
2answers
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) ...
0
votes
1answer
524 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
83 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
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 ...
4
votes
0answers
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
vote
0answers
137 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
216 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 ...
3
votes
0answers
302 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
0answers
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/...
1
vote
0answers
4k 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
556 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
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 ...
0
votes
1answer
519 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
508 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
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
0answers
417 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
1answer
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
0answers
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 ...
1
vote
0answers
332 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 ...
2
votes
0answers
1k 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
823 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 ...
2
votes
0answers
204 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
2k 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 ...
12
votes
2answers
19k 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
216 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
2k 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: ...
11
votes
1answer
13k 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(...