Network File System version 4 (NFSv4)

learn more… | top users | synonyms

0
votes
1answer
21 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
29 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 ...
0
votes
2answers
45 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
35 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
87 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
34 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
29 views

Does “Kerborised” 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
23 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
255 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
34 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
415 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
92 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
287 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
151 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
179 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
28 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
16 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
195 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
387 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
88 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
440 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
99 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
323 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
535 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
5k 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
598 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
2answers
3k 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 ...
0
votes
0answers
316 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
110 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
553 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. ...
0
votes
0answers
863 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
162 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
2k 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
91 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 ...
0
votes
0answers
460 views

Brief example for non-trivial idmapd sought

I manage users using an OpenLDAP server. I now want to connect a NAS as the main file server using NFSv4. The NAS allows me to import LDAP users and groups, but it maps them to user@ldap.domain. So I ...
3
votes
1answer
639 views

NFS v4 ACL inheritance problems - “i” flag set but not wanted

What I am trying to is add an NFS v4 ACL that allows a directories, child and grandchild, great grandchild etc directories and files to inherit a delete ('D') flag under linux. The underlying file ...
0
votes
1answer
865 views

user id mapping failing with nfs and ldap

I have a NFS4 export (from FreeBSD ZFS filesystem) with root_squash turned off (-maproot=root). Until recently I've been mounting this drive without problems on several machines (mostly Ubuntu 12.04 ...
2
votes
0answers
382 views

Why can't I chown to nobody over nfsv4?

Server: FreeBSD 9.2-RC1, ZFS Client: FreeBSD 9.0-RELEASE-p3 Filesystem is exported with "alldirs,maproot=root". On the client, I can chown a file to any user but nobody. client# touch foo client# ls ...
0
votes
1answer
3k views

NFSv4 file ownerships, nfsidmap name not found in domain

I have an nfsv4 server and client (both RedHat 6) configured with the method set to nsswitch, and the same domain set on both client and server in /etc/idmapd.conf. On the client I get nobody:nobody ...
3
votes
2answers
3k views

Restart idmapd without rebooting the host?

When I have changed Domain in /etc/idmapd.conf and then service idmapd restart, then the change doesn't take effect until I reboot. Is it possible to do this without having to rebooting the host? I ...
0
votes
0answers
95 views

Lots of messages “kernel: RPC: Want update, refpage=120, age=xy”

I have a Scientific Linux 6.3 server that exports a network share via nfs4. This share is mounted through an ssh tunnel by several clients. The setup works reasonably well, but occassionally the nfs ...
2
votes
1answer
2k views

NFS issue: clients can mount shares as NFSv3 but not as NFSv4 — or how to debug NFS?

Problem description I have a file server running Debian. On it I have a few NFS shares. When I mount the shares from a client using NFSv3 (mount.nfs 10.0.0.51:/exports/video /mnt -o ...
1
vote
0answers
73 views

Why doesn't NFS4's ID mapping give me write access?

I have installed an NFS server on an Ubuntu server system. The /etc/exports says / 192.168.178.0/24(ro,sync,fsid=0,no_subtree_check,root_squash) /home/bronger ...
0
votes
0answers
326 views

Tomcat 5.5.HTTP 404, the requested resource is not available, NFSv4 mount

I am getting the HTTP 404, requested resource is not available. I do not know how to tackle this issue. Let me give you a brief overview of the environment. I have a system running on CentOS 6.4, ...
0
votes
1answer
520 views

NFS + Kerberos: can regular users access mounted directory without Kerberos ticket (kinit)?

I had this issue, which turned out to be caused by lack of Kerberos ticket. So the user can access NFS mount after doing kinit. Is there any way to let users access NFS mounts without a need to ...
1
vote
2answers
1k views

Regular user can not access NFS4 mounts (permission denied)

I have nfsserver and nfsclient machines. On nfsserver: # cat /etc/exports /export gss/krb5p(rw,sync,fsid=0,no_subtree_check,crossmnt) /export/home gss/krb5p(rw,sync,no_subtree_check) On ...
0
votes
1answer
98 views

NFS4 with Kerberos: DNS not enough, need entries in /etc/hosts (Why?)

I've had some hard time configuring NFS4 with Kerberos last time. Finally I made it but there are few things I do not fully understand yet. One of them is: why DNS resolution of hostnames is not ...
0
votes
1answer
353 views

NFSv4 Symbolic link under virtual root

My intention: 1. use /exports as my virtual root of NFSv4 2. export dir /my/dir through NFS So I created a symlink under /exports like this # ln -s /my/dir /exports/dir and my /etc/exports looks ...