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
19 views

2 servers are sharing the same ocfs2 FS via NFS

The problem is this: 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,_netdev,...
1
vote
1answer
38 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
23 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
113 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
49 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
43 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
66 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
91 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
43 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
648 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
201 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
142 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
86 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
43 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
38 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
98 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
1k 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
157 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
38 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
207 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
0answers
101 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
587 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
457 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
309 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
66 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
150 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
81 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
1k 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
609 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
645 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
44 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
0answers
100 views

NFS4 - No space left on device, but there is enough space and inodes

I get a strange error on my centos 7 server when I try to create a new folder. It complains, that there is not enough space (mkdir: cannot create directory ‘sources’: No space left on device). But the ...
0
votes
1answer
506 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
160 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
2k 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
606 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
281 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
0answers
113 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
335 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=...
2
votes
2answers
1k views

XFS: possible memory allocation deadlock in kmem_alloc

I am performing a data analysis that entails loading a large data matrix of ~112GB into a memory-mapped file using R programming language, specifically the bigmemory package (see https://cran.r-...
0
votes
2answers
515 views

NFS4 ubuntu: ls -al shows nobody:nobody

On Ubuntu (xenial aka 16.04) all clients show dir and file owners in all NFS4 mounted directories as nobody:nobody. User and group database comes via sssd from ldap, both client and server use the ...
2
votes
2answers
3k views

RedHat Server 7.3 trying to mount nfs share using NFS4

I am trying to mount a share located on Server1 using NFSv4, instead of NFSv3. The host server is running RHEL 5.1 (don't ask), and the client is running RHEL 7.3. I am able to mount it using NFSv3 ...
1
vote
1answer
1k views

NFSv4 + SSSD + Active Directory: 'nobody' permissions when ldap_id_mapping disabled

I'm attempting to configure NFSv4 with KRB5 authentication in accordance with RedHat's current recommendations, using SSSD to access Active Directory. The NFS server in this case is a NAS appliance, ...
0
votes
0answers
141 views

NFSv4 client unable to mount export containing brackets or spaces but works on NFSv3

There is an issue with NFSv4 when you try to mount a path containing a space and or a bracket character. NFSv3 works fine using the path that uses a symbolic link to the actual folder and NFSv4 does ...
1
vote
1answer
467 views

What shared, high volume storage technology should be used when hosting in Google Cloud?

Given an auto-scaling web server farm setup that needs access to a very large number of image files, we are currently using Google Cloud Storage with a mounted FUSE folder on each web server so that ...
1
vote
1answer
240 views

Configuring NFSv4 anonymous ownership mapping (idmapd.conf) per subtree or mount?

The NFSv4 idmap approach allows a great deal of flexibility in terms of how users and accounts are mapped between the NFS server and the local system -- but with this comes significant configuration ...
1
vote
1answer
2k views

What is causing `input/output` errors when reading from NFS v4 on CentOS?

We're seeing apps like nginx and php-fpm error out occasionally (and temporarily) while opening good files from a connected NFS mount: php-fpm error example: 2017/05/20 22:53:09 [error] 55#0: *6575 ...
0
votes
1answer
153 views

NFSv4 Server Bind Exports

I have been trying to set up a NFSv4 Server with one export. In the exported directory, I want mounted file systems via bind and also data stored in the exported directory. For example: /data /...