Questions tagged [nfsv4]
The nfsv4 tag has no usage guidance.
78
questions
0
votes
0
answers
22
views
need explanation of RDMA over Converged Ethernet (RoCE) and what hardware will it work on?
I am trying to understand NFS, primarily the latest version 4.2 which only seems to work on RHEL 8 and later (RHEL 7.9 only does vers=4.1). And with those, there is proto=tcp | udp | rdma for NFS. I ...
1
vote
0
answers
72
views
Is there any reason to use NFS 3 over version 4.2?
Consider a work environment with 100gbps type Infiniband switches, running on enterprise class servers having 512 GB of RAM and larger, with the operating system being RHEL 8.7 or very close to it.
...
0
votes
0
answers
25
views
troubleshooting NFS, is there a log file?
in RHEL 8.7 if it matters, I can successfully mount -o rdma 192.168.1.1:/data /data on my nfs client machine, however doing mount reports proto=tcp and not proto=rdma.
Is there a log file from NFSv4 ...
0
votes
0
answers
31
views
does NFS proto=rdma bypass firewalld?
in /etc/firewalld/zone/mycustomzone.xml I use the syntax of <port protocol="tcp" port="2049"/> to open port number being a protocol choice of either tcp or udp. For NFSv4 ...
0
votes
1
answer
49
views
Getting NFS RDMA to work in RHEL 8
I'm using RHEL 8.7 on both the client and the server, a clean install from rhel-8.7-x86_64-dvd.iso.
The /etc/nfs.conf and /etc/nfsmount.conf files are unmodified.
On the nfsserver
mkdir /data
chmod /...
0
votes
0
answers
34
views
How mmap works with EFS?
We are using vector search engine (qdrant) which is mounted on EFS with mmap configuration.
Recently we started seeing few errors which made us to realise that using database mounted on EFS and using ...
3
votes
0
answers
57
views
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 ...
0
votes
0
answers
32
views
NFS copy stalls periodically to slow MB/sec
I have NFS working much better now in RHEL 7.9, on a wired 1gbps LAN. The mount shows up as vers=4.1. Initially I was using sync and getting a reliable and consistent ~55 MB/sec for a data_70gb.tar ...
2
votes
1
answer
144
views
why is NFS copy speed half that of SSH scp?
RHEL 7.9 x86-64
high end dell servers with Xeon cpu's, 512gb ram, intel nic card
I am the only user on the server(s), and there is no other work load on them
cisco 1gbps wired LAN
data.tar is ~ 50 gb
/...
1
vote
0
answers
69
views
NFS4 multiple mountpoint and FSID
I have a server which exports 2 mountpoints to a client /etc/exports :
/data/www 192.168.1.10(fsid=0)
/srv/images 192.168.1.10(fsid=1)
On the client side I am trying to mount these mountpoints with ...
1
vote
0
answers
37
views
NFS mounts don't work for some clients
I'm running an NFS server on Debian 11 (Bookworm)
I'd installed the package nfs-kernel-server and have the following in my /etc/exports
/mnt/2TB 192.168.1.0/255.255.255.0(rw,anongid=1000,...
0
votes
1
answer
230
views
NFS4 and remote clients: how to show info?
On Linux with nfsv3 the command
showmmount -d
show the remote client which mount dir on my nfs server.
With nfs4 with a directory remotely mounted the showmount command display nothing.
How to know ...
0
votes
3
answers
366
views
NFS causes linux system to hang, doing ls or df for example
running RHEL 7.9, on LAN using a cisco switch, and cat6 wired cabling. When there is any kind of network issue, and sometimes not a network issue from what I can tell, linux will hang because of NFS, ...
0
votes
0
answers
137
views
why can I delete a root owned file through samba share that is an NFS mounted folder?
RHEL 7.9
a server having the physical mount of /data has SELINUX as enforcing with the selinx bool samba_share_nfs set to on; this /data folder is NFS exported
a few NFS client servers mount this /...
0
votes
1
answer
101
views
NFS partition is not mounted while `mount` shows it does
There are 3 servers where NFS (ver.4) partition is mounted. Servers A & B are just fine, however on server C partition is mounted not properly. Changes are made on servers A & B are not ...
1
vote
0
answers
105
views
NFSv4 ACLs on ZFS and other permissions
All,
I've been experimenting with using NFSv4 ACLs on ZFS datasets to set default permissions in a handful of directories that are accessed using a few different means (eg. SFTP, NFS, etc.) I've been ...
1
vote
1
answer
137
views
rsync hangs after 100% to-chk output
I have an NFS mount of /backup and it is
type nfs4 (rw,nosuid,noexec,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,,clientaddr=192.168.1.2,...
1
vote
0
answers
192
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
/...
0
votes
2
answers
201
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 ...
1
vote
2
answers
12k
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,...
1
vote
0
answers
848
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/...
0
votes
1
answer
274
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
32
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
vote
0
answers
337
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....
0
votes
1
answer
70
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
699
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 ...
0
votes
1
answer
165
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
1
answer
424
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
1
answer
123
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
2
answers
1k
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
0
answers
135
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
2k
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
1
answer
399
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 ...
5
votes
3
answers
2k
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 ...
3
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 ...
1
vote
1
answer
1k
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
0
answers
247
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
0
answers
631
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
1
answer
592
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
0
answers
61
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
1k
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
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
114
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
513
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
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 ...
-1
votes
1
answer
195
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
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.
2
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) ...
0
votes
1
answer
1k
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
101
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.
...