Skip to main content

Questions tagged [nfsv4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
78 views

NFS permission for other - operation not permitted

I have the following problem with NFS: On the server: $ cat /etc/exports /opt/1865/conf/ 10.10.14.196(rw,sync,no_subtree_check) $ id uid=999(usr1) gid=1003(grp1) groups=1003(grp1) On the client: $ ...
Irbis's user avatar
  • 11
0 votes
0 answers
23 views

Near errorless issue with VirtualBox and/or nfs

Server/host: DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS" Server NFS-common version: nfs-common/jammy-updates,now 1:2.6.1-1ubuntu1.2 amd64 [installed,automatic] Server NFS-server: nfs-kernel-...
brad's user avatar
  • 207
3 votes
2 answers
171 views

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

That seems completely backwards. (The block size on this NFS share is 512KiB, causing 20% waste, but that's a different issue.) $ df -BM --output=used,target /Database/backups Used Mounted on ...
RonJohn's user avatar
  • 1,154
0 votes
0 answers
246 views

NFS mount fails with peculiar errors (as plain user and root)

When I try to manually mount with this command: mount -t nfs <server-ip>:/srv/nfs4/share1 /mnt/data as non-root user, I am getting the error mount.nfs: failed to apply fstab options.  When ...
Parsa Loi's user avatar
0 votes
0 answers
59 views

NFS - safely exporting a subdirectory of a filesystem

For context, I am assisting in administration of some poorly documented software that uses an NFS mount shared between a primary server and a failover server. The NFS server is currently exporting a ...
Wildcard's user avatar
  • 36.8k
0 votes
1 answer
3k views

is FSID really needed for NFS export?

reference: implications of using NFSv4 fsid=0 and exporting the NFS root to entire LAN (or not) exporting-the-nfs-root-to-entire-lan-or https://earlruby.org/2022/01/setting-up-nfs-fsid-for-multiple-...
ron's user avatar
  • 7,423
0 votes
0 answers
248 views

what causes an NFS mount to drop to vers=3 instead of 4?

In RHEL 7.9, there are a handful of directories in /etc/exports. On the nfs clients, they are all mounted as vers=4.1 except for one which gets mounted as vers=3 and mountproto=udp instead of tcp. ...
ron's user avatar
  • 7,423
0 votes
0 answers
1k views

Rocky : How to change NFS versions from Version 4 to Version 3

On CentOS mount command was working like: mount -v -o nfsvers=3 publicip:/opt/NFSData /tmp/myshare As we moved to Rocky it stopped working. As metioned in redhat documentation, nfsvers= is not ...
Aman Pasi's user avatar
1 vote
1 answer
180 views

Cannot kinit nfs/ principal

I'm trying to mount a NFSv4 share but the mount command cannot get permissions to mount the share. When I try to mount a share I receive the message: mount.nfs4: mount(2): Permission denied And if I ...
igorkattar's user avatar
2 votes
2 answers
2k views

difference NFS proto and mountproto

in RHEL 8.8 when I am trying to test NFS tcp versus udp and versions 3 versus 4.0, 4.1 and 4.2, I observe on my nfs client a mountproto= in addition to proto= when typing mount. What is the ...
ron's user avatar
  • 7,423
0 votes
0 answers
178 views

nfs4 ACL won't allow group names with spaces

I configure red hat 8.7 to work with active directory and NFS4.1 ACL. When I am trying to add permissions to folder/file with command: nfs4_setfacl -R -a A:g:domain [email protected]:rx imex_home/ Do I ...
HELLBOY's user avatar
2 votes
3 answers
2k views

NFS4, insecure, port number, rdma contradiction help

With RHEL 8.8 currently, and RHEL 9.x, the latest NFS version is 4.2. When NFS 4 was introduced, it did away with a few things in NFS3 one of which was multiple port numbers: NFS4 mandates all ...
ron's user avatar
  • 7,423
3 votes
1 answer
309 views

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" ./...
Tavian Barnes's user avatar
4 votes
0 answers
2k views

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/...
Dmitry's user avatar
  • 83
1 vote
2 answers
1k views

How to make hardlinks across two NFS shares?

Is there a way to make hard-links, from the client side, across two or more NFS mounts, if the shared NFS directories are hosted on a single backing filesystem? (Such that the server would have no ...
Max Power's user avatar
  • 264
1 vote
0 answers
894 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. ...
ron's user avatar
  • 7,423
0 votes
1 answer
297 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 ...
ron's user avatar
  • 7,423
0 votes
1 answer
2k 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 /...
ron's user avatar
  • 7,423
3 votes
0 answers
209 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 ...
ron's user avatar
  • 7,423
0 votes
0 answers
292 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 ...
ron's user avatar
  • 7,423
2 votes
1 answer
2k 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 /...
ron's user avatar
  • 7,423
1 vote
1 answer
443 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,...
John Tetreault's user avatar
0 votes
2 answers
2k 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 ...
elbarna's user avatar
  • 12.9k
4 votes
3 answers
8k 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, ...
ron's user avatar
  • 7,423
0 votes
0 answers
389 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 /...
ron's user avatar
  • 7,423
0 votes
1 answer
316 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 ...
user1700494's user avatar
  • 2,232
1 vote
0 answers
347 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 ...
Steven Stallion's user avatar
2 votes
1 answer
730 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,...
ron's user avatar
  • 7,423
2 votes
0 answers
503 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 /...
ron's user avatar
  • 7,423
1 vote
2 answers
1k 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 ...
ron's user avatar
  • 7,423
4 votes
2 answers
50k 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,...
markfree's user avatar
  • 365
1 vote
0 answers
6k 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/...
ron's user avatar
  • 7,423
0 votes
1 answer
651 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 ...
Brad Silva's user avatar
1 vote
0 answers
590 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....
Ommadawn's user avatar
  • 113
1 vote
2 answers
146 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 ...
vtwaldo21's user avatar
3 votes
2 answers
3k 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 ...
ron's user avatar
  • 7,423
0 votes
1 answer
319 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 ...
ron's user avatar
  • 7,423
0 votes
1 answer
1k 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 ...
ron's user avatar
  • 7,423
0 votes
1 answer
495 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. ...
Andyj's user avatar
  • 21
0 votes
2 answers
4k 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 ...
eng3's user avatar
  • 279
0 votes
0 answers
251 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. ...
Dovid Bender's user avatar
3 votes
2 answers
3k 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 ...
tpecar's user avatar
  • 81
-1 votes
1 answer
917 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 ...
User01's user avatar
  • 1
5 votes
3 answers
5k 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 ...
Kevin Vasko's user avatar
5 votes
0 answers
3k 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 ...
Keith's user avatar
  • 81
3 votes
1 answer
2k 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 ...
Nykau's user avatar
  • 31
1 vote
0 answers
723 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 ...
umläute's user avatar
  • 6,512
0 votes
0 answers
1k 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 ...
Vi.'s user avatar
  • 5,843
3 votes
1 answer
688 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 ...
Jim's user avatar
  • 1,044
1 vote
0 answers
144 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 ...
Krishnamoorthi M's user avatar