Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nfs4]

Network File System version 4 (NFSv4)

0
votes
0answers
6 views

What services and ports are required for NFSv4?

I've been trying to find the definitive answer to this question, but I'm getting conflicting results due to various NFS versions out there. I've configured NFSv4 by following https://help.ubuntu.com/...
1
vote
1answer
24 views

Securing NFSv4 WITHOUT Kerberos on a public cloud?

I've lost enough hair trying to setup this Kerberos nonsense. Is there any way to secure an NFS v4 setup without using Kerberos on a public cloud, i.e: all servers have a public IP (there is no ...
-1
votes
0answers
20 views

AutoFS not mounting NFS on non-standard port

I have a little problem with AutoFS and having a NFS share on a different port. It works fine with another share on the standard port and the not working share works fine when i go the manual route ...
2
votes
1answer
35 views

Encoding issue between NFSv3 and NFSv4

We have some issues regarding NFS share regarding filenames encoding. We were previously mounting as NFSv3 and started to use NFSv4 and some files previously created, with special characters (...
1
vote
1answer
40 views

Can not umount NFS directory (ignored)

I have a few servers that have NFS mounted directories. I have shut down the service that is using them, and fuser -m doesnt show any other processes using any files there. When i do "umount -at nfs" ...
1
vote
0answers
23 views

What exactly does nfs4_disable_idmapping parameter do?

I've been experimenting with user/group ID mapping (translation) in NFSv4. What I want to achieve is name based ID translation, that is independent of the actual UID/GID on the server and clients. ...
0
votes
2answers
49 views

How to configure NFSv4 mount so that owner of files created by root user on NFS client appear as 'root:root', rather than 'nobody:nogroup' on client?

I have an Ubuntu 16.04 server on which the Nextcloud snap is installed (nextcloud.lan), and an Ubuntu 16.04 NAS configured to serve files over NFSv4 (nas.lan). I would like to mount directory /var/...
0
votes
1answer
30 views

How does NFS figure out which Kerberos creds / principals to give access to?

I'm setting up NFS with Kerberos and following various guides, like NFSv4 with Kerberos on Ubuntu Wiki and How To Use Kerberos to Control Access to NFS Network Shares, amongst others. All guides ...
0
votes
0answers
29 views

Diagnosing NFSv4 Authentication Issues

I've got a couple of NFSv4 shares (with Kerberos authentication). Most of the time they work quite well, but when there's an issue they can be a pain to fix. I put this down to them being quite ...
1
vote
0answers
47 views

How do you setup an NFS4 server that utilises Kerberos authentication from an Active Directory KDC using CentOS Linux release 7.6.1810 (Core)

How do you setup an NFS4 server with Kerberos from Active Directory? I can install and configure an NFS4 server and connect to it, but I can not get Kerberos to work under any circumstances where the ...
0
votes
1answer
52 views

Can 2 servers share the same ocfs2 FS via NFS?

The problem is the following: I have 2 servers that have a FS mounted as ocfs2: root [server01]% mount | grep ocfs2 ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw) /dev/sddlmam1 on /share type ocfs2 (rw,...
1
vote
1answer
50 views

Why isn't NFS over SSH transparent to NFS?

NFS over LAN seems to work as expected - one downloads nfs-utils rpm, makes a share, modifies ownership and SEL, allows nfs in firewalld, launches nfs-server daemon, and everything is good to go. ...
0
votes
1answer
60 views

rsnapshot through nfs: failed to preserve ownership|cannot access errors

Trying to rsnapshot to an nfs share I get some ownership and access errors, even if I can visibly do any operation on my shares with UID 1000 and GID 1000 on both server/client. Server exports /etc/...
3
votes
0answers
193 views

How does the Linux NFS server implementation of setclientid work?

Does anyone understand the NFS protocol (Version 4) or the Linux NFS server implementation of it well enough to explain how setclientid negotiates authentication? Background: I have a CentOS 7 ...
0
votes
2answers
94 views

Contents of NFS folder disappear after application attempts to read it

I recently ran into an issue with nfs on my nfs clients related to one specific shared directory. None of the applications I use (Sonarr & Plex) which are both on different VMs are able to read ...
0
votes
0answers
60 views

~1300ms 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 ...
0
votes
3answers
77 views

Would a firewall occasionally disconnect an CentOS 7.3 NFS client?

When large read and write operations are conducted on a NFSv4 share on a CentOS 7.3 client, I notice that the NFS mounts often time out. Does a fresh, out-of-the-box installation of CentOS 7.3 ...
0
votes
0answers
135 views

Kerberos keytab for NFS doesn't work if not created in server

I'm trying to mount a directory into a client server using kerberos authentication. If I create a keytab file using using kadmin in the server, I cannot get authenticated when I mount the directory. ...
0
votes
1answer
55 views

NFS w/Kerberos - Network change broke auth?

So, I've recently changed my network setup a bit, and for reasons I'm still trying to suss out replacing the old router with a new PFSense box appears to have broken the authentication within the ...
1
vote
2answers
2k views

How to mount with uid and gid using NFS?

I would like to mount an AWS EFS location with the efs driver which internaly uses nfs. Now the question is: How do I automatically mount a location with specific uid and gid? With sshfs e.g. I would ...
0
votes
1answer
231 views

Oracle Linux won't mount CentOS NFS share, but Arch will

I'm trying to get kerberized NFSv4 running on our network. Server is CentOS 7. I'm able to mount the share on my Arch Linux workstation, but not our Oracle Linux 7 database servers. I'm trying to ...
1
vote
1answer
372 views

NFSv4 hangs on mount

NFS mount commands hangs on client indefinitely after server reboot. I am running this command : mount -t nfs -v 10.17.25.27:/DATA/projects/assets-db/log-apache test My NFS server is : 10.17.25.27, ...
0
votes
0answers
150 views

NFSv4 with Kerberos on Debian Stretch: only works if I run rpc.gssd -fvvv

After many (!!) evenings of trial and error, I've finally succeeded in getting NFSv4 to work with my existing krb5 setup. It however only works if I run rpc.gssd on the client manually (a few howto's ...
1
vote
1answer
67 views

Mount NFS4 share as different user

I have an AWS EFS NFS4 share (shareA) that is mounted by some servers where all files are owned by userA/uid=800. I'd like to mount that share onto the b-series servers, configured to look like userB/...
0
votes
0answers
42 views

How to prevent Icinga's disk check from interupting idle NFS mounts?

I have a mount and automount unit pair for systemd, that mounts a NFS share from another host when needed. It is unmounted automatically after 60 seconds of idle time. Works fine so far. But if I ...
0
votes
0answers
164 views

Ubuntu 18.04, NFS mount over VPN goes stale, requires manual re-mount

trying to figure out how to fix this. I have two sites connected through an IPSec VPN, with an Ubuntu 18.04 box at site A mounting over the VPN to an NFS server at site B. Works great, except: every ...
0
votes
1answer
2k views

NFS mount Permission denied

I created a user and a group with the same uid and gid on the NFS server and the NFS client side. The export on the server side looks like this: /volume1/nextcloud *(rw,async,no_wdelay,...
1
vote
0answers
183 views

NFS share group permission not respected

I have a linux client and freebsd nfs server (NAS4free actually) NFS share is mounted by fstab this way: server:/mnt/disk/ZHomeData on /data type nfs (rw,nosuid,relatime,vers=3,rsize=32768,wsize=...
0
votes
1answer
52 views

How to fix accumulating NFS DELEG locks necessitating a hard power-down of the client?

Our legacy production system has a data server and a compute client that interact via NFSv4; both run on VMWare virtualization. We have determined that as the compute client’s software runs, over the ...
1
vote
1answer
259 views

PHP is_writable always false on NFS

Sorry, I'm not sure, if this is the correct forum because I don't know the cause for the issue, I'm facing. I installed NextCloud on a Raspbian (Stretch 9) and moved the data directory to a mounted ...
1
vote
1answer
116 views

Infiniband configured and connected but indicator lights unlit on HBAs and no functionality in OS

I have installed two dual-port FDR Infiniband VPI HBAs, one in each of two servers running CentOS 6.9, server1>lspci 03:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3] ...
4
votes
1answer
969 views

What is the difference between Ceph and NFS when it comes to shared file storage?

Can someone explain to me what is Ceph compared to NFS? From a shared file storage perspective? What is the added value of using Ceph instead of NFS?
0
votes
1answer
706 views

How do I use /etc/export.d/?

How do I use /etc/export.d/ to export filesystems? I am attempting to export an sge cell's configuration via nfs. However, the export does not appear to work. # cat /etc/exports.d/sge-example.com /...
2
votes
0answers
384 views

NFS ignores secondary groups

My NFS server seems to be ignoring secondary groups. I have fewer than 16 groups per user, but have --manage-gids on. The NFS share doesn't mount when this option is missing. Users and groups are ...
2
votes
1answer
91 views

RHEL6 NFSv4 client acting like NFSv3?

My understanding is NFSv4 clients should immediately connect to the NFSv4 service on the server, skipping the rpcbind portmapper and mountd service interactions entirely, but I'm seeing my RHEL6 ...
2
votes
1answer
204 views

bonding-rr vs single 10G for NFS NAS - pros and cons?

I'm standing before choice of NICs and switch for storage server and virtualization hosts and I can't decide between 10G and quad gigabit with bonding-rr. 10G is noticeably more expensive solution and ...
0
votes
0answers
91 views

nfs4_setfacl reports error on files of mounted folder

sorry to bothering you again I mount a nfsv4 folder(both client,server are centos7.4) via command sudo mount -t nfs -o v4.0,sec=krb5 ark-centos7-ker.qa.arkivio.com:/export/nfs1 /nfs4-mnt-dir ...
1
vote
1answer
38 views

High CPL resolved temporarily by NFS restart

CentOS 6.9 I've got an NFS (v4) file server whose exports started becoming very slow to respond on clients today. While this is happening, the exported volumes are not slow on the server itself. ...
1
vote
1answer
2k views

NFS v4 server is causing stale file handle, but only when bind mount is a subdirectory

This problem is basically driving me insane, at this point. I have an Ubuntu 16.04 NFS server that was working fine with this configuration: /etc/fstab: UUID=b6bd34a3-f5af-4463-a515-be0b0b583f98 /...
2
votes
0answers
719 views

QNAP NFSv4 user mapping ubuntu

I'm unable to map client username to server username when I mount a QNAP storage on Ubuntu client with NFSv4 (I don't want to use the UID correspondence). In my case neither the UID and the username ...
4
votes
0answers
784 views

Automount mac home directories using NFS4

I'm trying to set up automounting of user home directories using NFSv4 on Mac clients. Everything appears to work as expected except for logins via the Mac GUI. These hang with a spinning cursor. ...
0
votes
1answer
2k views

Is Samba 4 a good alternative to FreeIPA?

Our goal is to set up one file server / print server on a small LAN. To solve file permissions issues and access issues we have encountered, we believe a type of LDAP solution should be part of this. ...
1
vote
0answers
62 views

How to debug nfsrootfs not booting issue

We have Beaglebone black based custom board with 4GB eMMC and 256MB RAM. We use network boot for putting software on eMMC for very first time. For this purpose we have configured ubuntu PC for ...
0
votes
1answer
645 views

NFSv4 and different port

Is it possible to start NFSv4 server on different than default (2049) port? I searched the web for nfs-kernel-server and RPCMOUNTDOPTS, but did not find any configuration options. My setup uses ...
0
votes
1answer
174 views

How to solve NFS cross-mounting ordering “dead-lock”

I have 3 NFS servers, all basically doing cross mounts, e.g.: Server "A" mounts from "B"/"C" Server "B" mounts from "A"/"C" Server "C" mounts from "A"/"B" Obviously this creates a rather annoying ...
0
votes
1answer
3k views

How to configure reasonable timeout for nfs?

I have nfs mount to a directory on remote machine. When the remote machine is down or disconnected, any command on the nounted nfs (such as: ls, or open file) is stuck. I want it to just fail in a ...
2
votes
0answers
702 views

Non-root user needing chown capability on NFS client

I am providing an NFS server as part of a collaborative project with another group producing client software over which I have no control. Their software provides file management to its users through ...
0
votes
1answer
341 views

Why NFS4 client is trying to contact portmap service?

After upgrading Debian from wheezy to stretch I have a problem with mounting nfs4 volume. Before the upgrade the client did not try to contact portmap service (port 111), and after the upgrade it ...
1
vote
1answer
155 views

RHEL7 NFSv4 client with krb5 : how to make it non-interactive

I have a working setup in a corporate environment where we use RHEL7 together with SSSD to authenticate against Active Directory. Regular authentication works well. I managed to get the NFSv4 server ...
1
vote
0answers
377 views

NFS not mounting on boot

I have an AWS EFS that I want my Centos 7 server to mount on boot. The line from /etc/fstab that is meant to accomplish this is: xxxxxxx.efs.us-east-1.amazonaws.com:/ /mnt/EFS nfs4 nfsvers=4.1,rsize=...