Network File System version 4 (NFSv4)

learn more… | top users | synonyms

1
vote
2answers
16 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
39 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
129 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
13 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
17 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
26 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
44 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
46 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 ...
0
votes
1answer
19 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
173 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
89 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
46 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
43 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
62 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
123 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
152 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
147 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
115 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
281 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
60 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
77 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
43 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
647 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 ...
3
votes
1answer
129 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
510 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
401 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
316 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
40 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
17 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
232 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
106 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
542 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
118 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
404 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
681 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
6k 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
717 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 ...
2
votes
3answers
5k views

nfs4 and kerberos: Wrong principal in request

My client/servers are both running Ubuntu 14.04 and kerberos user authentication works as intended. regular nfs4 mounts also work fine. All machines are running heimdal libraries. I haven't been able ...
1
vote
2answers
2k views

Kerberized nfs4 mounts ERROR: No credentials found for connection to server

My client/servers are both running ubuntu 14.04 and kerberos user authentication works as intended. regular nfs4 mounts also work fine. All machines are running heimdal libraries. I haven't been able ...
1
vote
0answers
448 views

Single NFS folder shared across multiple clients

I'm trying to mount a single NFS folder from server say "/share/folder" to multiple clients up to 32 clients, and the clients tries to access the folder and create files. The problem I'm facing is ...
1
vote
1answer
2k views

mount using nfs4 giving no such device error

I am trying to mount a folder workspace from server to the client over NFS. For this I bind the folder to an /export by adding the following in my /etc/fstab on server: /home /export none bind ...
0
votes
1answer
128 views

mouting NFSv4 filesystem returning “Permissions denied”

I am using Red Hat for NFS with Kerberos client: [root@perf-c238 ~]# cat /proc/version Linux version 2.6.18-92.el5 (brewbuilder@ls20-bc2-13.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat ...
1
vote
0answers
697 views

Sharing a folder through NFSv4 and Samba on Ubuntu

I encountered problem with configure samba server above nfsv4. I have 2 servers with Ubuntu 12.04 on both of them. First server serve as NFSv4 storage, for VDI and user shares. File system is ext4. ...
1
vote
0answers
1k views

Yet Another NFS Permissions Error: Linux NFS4 Access Denied ('Auth Bogus Credentials (seal broken)') from NAT'd VM

Inside the VM, host address is 10.0.2.2, local address is 10.0.2.15. (VirtualBox). This gets translated to 127.0.0.1 on the host side. To connect: sudo mount -vvvt nfs4 -o clientaddr=127.0.0.1 ...
1
vote
1answer
238 views

NFSv4 through portforward

I would like to reach my NFSv4 servers though port forward. The big plan will be a cluster of NFSv4 servers loadbalanced with HAProxy running on localhost. But this isn't really important now. At the ...
1
vote
1answer
4k views

NFS4: what effects changes to /etc/idmapd.conf?

We have been wrestling with the problem where our NFS4 mount on our RHEL 6.3 clients show file ownership as "nobody", and where we see "nss_getpwnam: name 'blah' does not map into domain ...
0
votes
1answer
111 views

Zero length and zero permission files created on NFS mount

We have one NFS share mounted from one server to another (first is exporting, second is mounting). Sometimes when the file is created on the server, which has the NFS volume mounted, the file ends up ...