Network File System version 4 (NFSv4)

learn more… | top users | synonyms

0
votes
0answers
11 views

I'm having random nfs slow downs on my nfsv4 gigabit network which cause videos to slow down then speed up

I've noticed this issue happen in two different video players so I'm pretty sure it's a network problem. I'm running Ubuntu with the kernel 4.2.0-35-generic. Here is the result of my nfsstat -4 -s ...
1
vote
1answer
33 views

How to use pNFS in NFSv4.1

As I know, pNFS is an extended protocol over NFSv4.1. So, I have two questions: How to use pNFS in NFSv4.1? Is there any special requirement for kernel version in server side?
2
votes
1answer
27 views

NFS - Multiple sub dirs - Only one squashing as expected

Getting an unexpected behavior when mounting more than a single share. NFS Server $ -> cd /mnt/raid/nas && ls -lZa drwxrwxr-x. nas filer unconfined_u:object_r:file_t:s0 file ...
0
votes
0answers
20 views

Mounting NFS v4 on Linux with Username

I'm trying to mount a NFS v4 share on a Redhat Linux machine where the share is restricted to a particular user account. I have a kerberos ticket for the server and SSSD with LDAP used to populate ...
0
votes
1answer
26 views

NFS4 ID Mapping

Currently using NFS4 idmapping. If i manually update the file "/sys/module/nfsd/parameters/nfs4_disable_idmapping" on the NFS Server to "N" and flush the cache the UID and GID show up correctly on ...
1
vote
3answers
40 views

File permissions are being changed after gunzip of .gz file; how do I prevent that?

I have an NFS4 filesystem that has AD based authentication setup and ACLS to match. I am controlling access to the machines that mount the filesystem so the ACLs are very basic. One prevents users ...
0
votes
1answer
25 views

Wrong SELinux labels on NFS homes?

I have NFS (v4) home directories. The NFS server is a Synology (DSM 5.2), the client is a FC 23. The client gets autofs settings from a freeIPA server: ipa automountmap-add default auto.home ipa ...
0
votes
1answer
14 views

NFSv4 with Kerberos - idmap stops working after ~35 minutes

All machines are running CentOS 6.5. We have about 85 client machines doing a Kerberized NFSv4 mount (sec=krb5p) to a server. This weekend, the server was changed (serverA changed to serverB). ...
0
votes
1answer
45 views

How to restrict user access via SSSD AD provider?

I'm trying to configure a Redhat 6.x server for Authorization and Authentication to Active Directory (AD) via SSSD- after joining the server I'm able to login with any valid domain credentials. How ...
0
votes
0answers
17 views

Reliable, resistant to disconnect NFS configuration

I am using NFS v4 as additional file storage in near-high-load app (~300 messages per second, each contains 30kB - 1mB file). I see some weird behaviour on manual or occasional NFS server disconnect: ...
1
vote
2answers
27 views

Prevent root in linux from changing folder permissions in GPFS filessystem

I have created a NFS export in a GPFS/SpectrumScale filesystem I created. I have enabled AD based authentication with our domain. Everything works. The NFS export was created with NFS4. The NFS ...
2
votes
1answer
57 views

NFS clients sometimes hang for 15 seconds

NFS server: CentOS7.1 (kernel 3.10.0-229, nfs-utils 1.3.0) Some clients are Ubuntu Precise (12.04) using NFSv3... they work fine. The problematic clients are running CentOS7.1 using NFSv4.1 (or ...
3
votes
1answer
177 views

Creating a NFS share across servers with varying UIDs

I have 4-5 Ubuntu 14.04 servers in my network and I want to share a common /home directory between them. I have setup the nfs server, and I can mount the directory on various clients. However my ...
0
votes
1answer
30 views

nfs(v1.2.8) client does not support all_squash option

$ /sbin/mount.nfs --version mount.nfs: (linux nfs-utils 1.2.8) $ mkdir -p ~/mnt && sudo mount -t nfs -o rw,all_squash xx.xx.xx.xx:/lgtm/path/to/share ~/mnt mount.nfs: an incorrect mount option ...
0
votes
0answers
29 views

Random NFS4 hangs without errors on some NFS client machines

I am experiencing a strange randome kind of hang of some Kerberos/NFS4 machines (on a SuSE SLES12 linux system). This happens about once a week. The rest of the time everything is fine. When this ...
0
votes
0answers
43 views

NFS4 configuration issue

I have a an NFS server setup with the following exports: /mnt/nfs 192.168.122.0/24(rw,fsid=0,insecure,no_subtree_check,async) \ ...
0
votes
0answers
76 views

OSX Server NFS v4 Server

we are using an OS X Server for distributing home directories in our office with OpenDirectory. The protocol of choice became after a long way of painful testing NFS - not kidding - the only ...
1
vote
1answer
66 views

rsync hanging up reproducable on the same file while copying to nfs share

For the last two days I try to backup my disc to an NFS share. But after a while rsync is hanging up itself. Every time on the same file. But if I exclude the file it'll hangup on the next file. So it ...
1
vote
1answer
21 views

Change NFSv4 Bound Port?

I need to use port 2049/tcp for another purpose. Is there a way to change which port NFSD binds to? I don't need NFSv3 or NFSv2 so I am not using rpcbind service. I cannot find that config option...
-1
votes
1answer
450 views

How to share files/folders between users on same linux machine?

We have 2500+ users using linux thin clients with their home directory on a common NFS. We want Windows like file/folder sharing functionality between users. The users are not linked to any ...
0
votes
1answer
126 views

rpc.rquotad connection refused

I setup an NFS file server using Ubuntu 15.04 to replace an aging CentOS 6 based server. I have user quotas on the file system and on the server initially quota -v would segfault but upgrading the ...
2
votes
1answer
61 views

NFS ACLs do not apply to root

I've been using CIFS for my networking for the longest time, and I'd like to use NFS for my Linux to Linux file distribution. I've got a share drive that I've set a sticky group on, which appears to ...
0
votes
1answer
120 views

NFS export configuration for multiple LVM logical volumes

I have setup a file server that contains two large file systems, each consisting of a single LVM logical volume (10TB and 16TB) within a single volume group. The physical volumes making up the LV are ...
1
vote
1answer
99 views

Configure NFSv4 to allow different users read-write access

I have an NFSv4 server (CentOS). I want to export a particular directory to two different machines (one CentOS and one Ubuntu), where users of the same uid and gid need read-write access to the ...
1
vote
1answer
307 views

Wrong user mapping in kerberized NFSv4 automounted homedirs

Short problem description This question is about id mapping in NFSv4 going wrong. NFS server: a Synology DS, with DSM 5.2. Client: A regular FC22 machine, which automounts as /home one of the ...
0
votes
0answers
216 views

NFSv4 increase max value of rsize/wsize on a Gigabit LAN

Got two debian7 boxes over a Gigabit network (2 interfaces bonding with LACP). Now trying to maximize throughput by increasing nfs rsize and wsize. Though i set these options manually to 1MB, the ...
1
vote
2answers
187 views

NFS share not connecting over ssh tunnel on Mac OsX, it works on all other devices

I've been searching for a while now to try and find a solution but I finally gave up. I have a ubuntu server running an nfs share. I set it up so that you have to connect to it using ssh. which is ...
0
votes
1answer
156 views

Windows NFS client keeps writing read-only with on NFS server with squash_all

We have a Debian 8 with an NFS server exported with "/client-share *(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)" that works just fine when transferring files from a Windows ...
2
votes
2answers
390 views

How to automate directory creation on NFS-Server?

I created and configured a test-environment of 3 virtual machines: A FreeIPA server which provides krb5-authentication A NFS-Server using server 1 to secure itself A client that automounts home ...
1
vote
0answers
77 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
0
votes
1answer
93 views

Does “Kerberised” NFSv4 securely protect against a malicious client spoofing the user

I have read conflicting statements about whether shares exported via NFSv4 with sec=krb5 are cryptographically protected against a malicious client mounting the share and then spoofing the user to ...
0
votes
0answers
52 views

Some users cannot write via NFS, but others can

I have an NFS4-mounted /home drive, with several different users' home folders in it. I am using inetd's ID-mapping feature (i.e. NEED_IDMAPD=YES in /etc/default/nfs-common). The NFS mount and ...
3
votes
0answers
792 views

Can't read ACL on NFS4 share, Solaris 10 client, CentOS 7 server

First off, please excuse me if my question isn't well formed, this is my first post on serverfault :) I have successfully deployed LDAP and Kerberos authentication in a mixed Linux/Windows/Solaris ...
1
vote
0answers
37 views

NFS local user mapping works, but not with sudo

I want to use an NFS share for backing up. I have created a local user on the client with a specific uid/gid combination that works for writing files to the NFS share. So far so good. However, I need ...
0
votes
1answer
1k views

How to set up pNFS on CentOS

I'm looking into different ways to create a petabyte storage array. One option that looked interesting is pNFS; however, I'm having trouble finding details on how to set it up. How can I set up pNFS ...
4
votes
1answer
145 views

Pacemaker error on failback with drbd

I have two nodes in my cluster with drbd+pacemaker+corosync When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors ...
2
votes
0answers
588 views

Problems on mounted NFS: 'No such file or directory' but files and directories exist

So we are having a medium-sized NFS4 storage server running CentOS 6.6 exporting an NFS share /storageDat (which is the NFS root, with two RAID volumes bound in there: ./dat1 and ./dat2); Export ...
1
vote
1answer
534 views

Random machine hangs with NFSv4 on CentOS/RHEL 6.5

We have an in-house "compute farm" with about 100 CentOS (free re-distribution of RHEL) 5.7 and 6.5 x86_64 servers. (We are in the process of upgrading all the 5.7 boxes to 6.5.) All these machines ...
0
votes
1answer
412 views

Permission denied with nginx and nfs

I have two RHEL 7 machines. I have installed nginx and php-fpm and setup a nfs mount. I can read/write to the nfs mount without issues and I have another application server (Apache Geronimo) that is ...
1
vote
0answers
48 views

Kerberized root user on RHEL 5/6

I'm currently involved with getting NFSv4 and Kerberos. We've decided to bite the bullet and try and make the transition. Our environment is: Windows AD LDAP auth on Linux against said AD. ...
1
vote
0answers
18 views

Kerberized NFSv4 share (deleted) after token expiry

I set up a NFSv4 server with Kerberos authentication and it runs well. However, some users stay logged in for long times such that they have to renew their tickets after some days. If during the time ...
0
votes
1answer
244 views

Synology Rackstation - Better way to mount it

We are using a Synology Rackstation storage to store our static content which is served by a 4x Nginx backend. Now we've mounted it by nfs4 like this: 192.168.0.20:/volume1/images2 ...
0
votes
2answers
1k views

Can NFS server limit the amount of disk space that the NFS client can use?

Let's say in a server A with 100GB partition, user create a NFS export directory. In server B, user mount the NFS share to use it. In server A, can the NFS server limit the amount of disk space that ...
1
vote
1answer
111 views

Can I use user-based kerberos authenication with NFSv4?

Is it possible to set NFSv4 + Kerberos to do user-based authentication? As far as I understand you are required to create a principal for a client machine(i.e. it is still Host-based?) on Kerberos ...
0
votes
1answer
597 views

Centos7 not allowing nfs to be served

I just did a fresh centos7 and fedora 20 install on 2 systems. I have several current systems running on the network and can connect to an existing nfs share no problems. when any system triest to ...
1
vote
0answers
125 views

Avoid client keytab with Kerberized NFSv4

I would like to setup a Kerberized NFSv4 server such that clients do not need a keytab to mount a volume (but such that users get their privileges according to their Kerberos ticket as usual). Is it ...
1
vote
0answers
434 views

rsync chgrp Failing on NFS

I am trying to set up NFS on two servers to share files. The owner of the files in question have the same UID and GID on NFS Server and each NFS client. The NFS Server is running on Ubuntu 14.04 and ...
1
vote
0answers
744 views

Mounting NFS with sync option but without noac option

When I mount using the sync option: sudo mount -o vers=4,soft,sync,sec=none -t nfs 192.168.1.198:/js.js /mnt/self the sync option doesn't seem to get applied: $ cat /proc/mounts | grep nfs ...
3
votes
1answer
7k views

automount - autofs mount issue on CentOS 6.5

Server CentOS 6.5 and Selinux is permissive My NFS server share in /etc/exports /home/unixmen/ 10.0.0.0/24 (rw,sync,no_root_squash) Client running on another CentOS 6.5 host , is able to mount ...
2
votes
0answers
756 views

NFSv4 idmapd ignores Nobody-User

I have a folder which is owned by ftp:users. I wanted to export this folder and have all requests mapped to the ftp user, which has id 107. In /etc/exportsI have the following: /media/other ...