Skip to main content
10 votes
Accepted

Is NFS obsolete?

TL;DR: No, NFS is still relevant, active, and a good choice in many situations. What Makes NFS (In)Appropriate for Your Use Case? This really depends on your use case. I don't concur that NFS is ...
Marcus Müller's user avatar
6 votes
Accepted

difference NFS proto and mountproto

In older NFS versions (v2 and v3) there are two distinct RPC services handled by separate software: the "MOUNT" protocol that's used only to obtain the initial filesystem handles from rpc....
u1686_grawity's user avatar
3 votes

NFS4, insecure, port number, rdma contradiction help

You have several questions and concerns regarding NFS (Network File System) version 4, its security options, port numbers, and the usage of RDMA (Remote Direct Memory Access). NFS version 4, ...
Z0OM's user avatar
  • 3,179
3 votes

difference NFS proto and mountproto

From man 5 nfs: mountproto=netid The transport the NFS client uses to transmit requests to the NFS server's mountd service when performing this ...
aviro's user avatar
  • 5,757
2 votes

How to solve the error "Pemission denied" when writing to a NFS shared folder

This should be a comment but its a bit long. You are jumping straight in to provisioning some capability wihtout understanding the tools you are using - although actually using the tools is the best ...
symcbean's user avatar
  • 5,695
2 votes

How to map id in NFS export?

When it comes to access to exports, NFS looks at the UID and/or the GID. The name of the user and group are immaterial. As the oracle user has a different UID on the server and client, the access isn'...
Nasir Riley's user avatar
  • 11.6k
2 votes

NFS4, insecure, port number, rdma contradiction help

regarding /proc/fs/nfsd/portlist which is largely the problem https://patchwork.kernel.org/project/linux-nfs/patch/[email protected]/ the /etc/nfs.conf file in RHEL 8 ...
ron's user avatar
  • 6,944
1 vote

Why does df shows same as "du --apparent-size"?

The man page for du right in the short description says it estimates file space usage. There are many filesystem features that can make its output inaccurate. For sparse files, block size would ...
user10489's user avatar
  • 7,142
1 vote

Building redundancy by creating multiple nfs mounts to a single location

A few times of a year, I found that when the nfs server exporting the home directory or the LDAP server went offline for various reasons, the entire cluster hanged. I am trying to build some ...
u1686_grawity's user avatar
1 vote
Accepted

Can’t get DNS IPs with NetworkManager during PXE boot

Solution is starting dhcpcd manually after boot with arguments: dhcpcd --nooption host_name --clientid -h $(hostname) -1 I run this command in systemd service after nfs-client.target and network....
IlorDash's user avatar
1 vote
Accepted

How to prevent showmount from hanging?

The timeout command can be instructed to use the SIGKILL signal (see man timeout). This works with showmount quite effectively: timeout --signal KILL 3s showmount -e remoteNFSServer
Chris Davies's user avatar
1 vote

NFSv3 vs NFSv4 performance drop

... 25000 small files my first inclination would be that general system overhead and file system I/O, even though it is not disk I/O because you are running from tmpfs, is the main culprit causing ...
ron's user avatar
  • 6,944
1 vote
Accepted

Can I fully utilize HDR Infiniband network throughput between servers and NFS volume?

For a 1gbps, such that 1000 / 8 = 125 MB/sec maximum throughput, and I observe 112 MB/sec via scp (about a 10% overhead hit) would you expect to see 100x going from 1gbps to 100gbps HDR infiniband, a ...
ron's user avatar
  • 6,944
1 vote
Accepted

Is NFS proto=udp supported in RHEL 8 nfs-utils-2.3?

By default, the server doesn't support UDP. You need to update /etc/nfs.conf so there's a udp=y line in the [nfsd] section. # nfsconf --dump [gssd] use-gss-proxy = 1 [nfsd] udp = y Now a simple ...
Stephen Harris's user avatar
1 vote

Bcache is not being utilized, slow raid/transfer rates

sequential_cutoff was the setting to configure to fix the write speeds. By default sequential_cutoff is 4Mb which means anything over 4Mb will be directly written to the hard drive. I tried 2048Mb and ...
PleasantTiming's user avatar
1 vote

NFS4 and remote clients: how to show info?

as NFSv4 only uses port tcp/2049 you can simply check connected nfs clients on the server using: ss -tano state established sport nfs
StefanKaerst's user avatar
1 vote

Improving NFS performance on FreeBSD system

Increase NFS read and write buffer sizes sudo mount -o remount,rsize=262144,wsize=262144 myserver:/export/path /mnt/tmp Adjust the number of NFS threads sudo sysctl -w vfs.nfsd.maxthreads=256 ...
warashi nguyen's user avatar
1 vote

Force NFS server to start after iSCSI targets connected

In my case, the issue seems to have been that my iSCSI drive is considered part of remote-fs-pre.target, and systemd defaults want to start nfs-server Before that. Just putting an After line in /etc/...
dlo's user avatar
  • 113
1 vote

fstab does not mount automatically a NFS remote folder

TL;DR: try sudo apt install openvswitch-switch-dpdk then reboot to see if it works. I've encountered the same problem on Ubuntu 22.04 and managed to solve it. Following the link (nfs shares in /etc/...
Nicolás_Tsu's user avatar
1 vote

How to keep track of which files are currently growing in directory

Crossposted from ServerFault If your writes are infrequent, you could also use tree: tree -h -x /my/directory/path > my_current_tree_$(date '+%+Y_%m_%d_%H_%M_%S') Call it again after a period of ...
F. Alessandro's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible