Questions tagged [nfsv4]

85 questions
15
votes
2 answers

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 connect and modify the content of the folders. But…
Robert Koszewski
  • 367
  • 1
  • 3
  • 12
11
votes
1 answer

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 …
MountainX
  • 17,168
  • 59
  • 155
  • 264
5
votes
3 answers

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 NFS server mount point. :/home/backups on…
Kevin Vasko
  • 327
  • 4
  • 12
5
votes
1 answer

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 mapper can only be used with Kerberos? the problem I…
user212827
  • 91
  • 9
4
votes
0 answers

unable to mount remote NFSv4 share from the client

Here's the premise: I have NFSv4 (only) server configured under Centos7 and running fine, here's the export (it's a sandboxed environment, so no security concerns): server> cat /etc/exports /export/dcs …
Dmitry
  • 73
  • 6
4
votes
0 answers

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 and kdc servers and macOS clients have domain…
Keith
  • 71
  • 2
  • 5
4
votes
0 answers

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 v4.1) causes high CPU resulting in GitLab being…
Koshur
  • 1,319
  • 4
  • 21
  • 36
4
votes
0 answers

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 supported: /data and Failed to instantiate ACL. I have…
3
votes
1 answer

NFS mount mixing up ctime and mtime

I have an NFS mount served from a Linux server to a FreeBSD client. If I use touch to set the atime and mtime of a file on the FreeBSD client, tavianator@muon $ touch -at "199112140000" ./foo tavianator@muon $ touch -mt "199112150000" ./foo then…
Tavian Barnes
  • 851
  • 1
  • 6
  • 14
3
votes
0 answers

NFS copy 100 MB/sec and SCP at 112 MB/sec?

if I do a scp over a wired 1gbps network I consistently get 112 MB/sec after getting NFS set up as best I think I can, a 548gb tar file copied in 5456 seconds = 100 MB/sec the NFS copy was calculated via date; cp data.tar /bkup; date there is no…
ron
  • 5,749
  • 7
  • 48
  • 84
3
votes
1 answer

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 has one different home directory per Linux…
Nykau
  • 31
  • 5
3
votes
1 answer

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 already have the reverse set up through the…
Jim
  • 994
  • 2
  • 9
  • 16
3
votes
0 answers

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 are now working from remote locations, but we need…
MountainX
  • 17,168
  • 59
  • 155
  • 264
3
votes
0 answers

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%…
gurghet
  • 81
  • 4
3
votes
0 answers

~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 follows an bizarre pattern - Most of the time it's…
Dessa Simpson
  • 509
  • 3
  • 28
1
2 3 4 5 6