Network File System version 4 (NFSv4)

learn more… | top users | synonyms

0
votes
1answer
60 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 ...
0
votes
0answers
18 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
93 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
283 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 ...
2
votes
1answer
860 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
259 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 ...
1
vote
2answers
493 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
404 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
152 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
385 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
66 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
204 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
289 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
68 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 ...
0
votes
1answer
519 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
50 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
45 views

Idmapd apprently only works in one direction

I connect to a Synology NAS using NFSv4. Everything looks nice and read access works as expected. But writing produces the wrong uid gid on the server, i.e. writing a file produces a nobody:nogroup ...
0
votes
0answers
169 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
307 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
475 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
248 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
1k 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 ...
1
vote
1answer
858 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
60 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 ...
1
vote
1answer
989 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
59 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
235 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
337 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 ...
0
votes
1answer
836 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
67 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
216 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 ...
1
vote
0answers
143 views

Setting NFS Domain name on Windows 2012 NFS Server

I have a Windows 2012 NFS server setup to use my AD domain as an authentication source. My domain is ad.example.com with a NetBIOS name of AD. My linux machines have idmapd configured to use ...
0
votes
1answer
167 views

nfs daemon doesn't listen 2049 port

I have some problem with nfs. Looks like its doesn't listen 2049 port on client. Both client and server has Debian linux. serv$ rpcinfo -p program vers proto port 100000 2 tcp 111 ...
7
votes
3answers
448 views

Permissions are not taking effect with Kerberised NFSv4 on FreeBSD

I'm currently trying to set up an NFSv4 server on FreeBSD. I have extensive experience with doing this on other Unices (Solaris and Linux), but I'm fairly new to FreeBSD. My goal is to achieve the ...
0
votes
1answer
446 views

Dual Linux NFS Server Failover - nfsv4leastime / nfsv4gracetime

first time here posting, i hope i won't do many mistakes. I've a setup with 2 NFS server. They're using corosync/pacemaker + drbd to offer active/passive nfs server. Distro used is Ubuntu latest LTS ...
1
vote
0answers
79 views

Preventing NFS Denial of Service

I have a NFS4 server running Ubuntu 10.04 Server, on an enterprise environment with 50+ clients. Overall, everything works fine, but from time to time, some client starts making +1000 NFS operations ...
1
vote
0answers
102 views

NFS4 server hangs on reboot if client has the exported directory mounted

I have a problem involving and NFS4 server and client. The problem is that when the client has the exported filesystem mounted and the server is rebooted, the reboot will hang with a console messages ...
1
vote
0answers
180 views

Sharing a folder through NFSv4 and Samba

I have some trouble getting the proper access right to work for a folder shared through samba and nfs. Connected like this: ┌────────────┐ ┌──────────────┐ ┌──────────────┐ │ NFS-Server ├────┤ ...
2
votes
1answer
5k views

“KDC has no support for encryption type” when setting up cross-realm trust between MIT Kerberos and Active Directory

I am currently setting up an environment where I have a set of Solaris and Linux machines, using a dedicated Krberos 5 realm (MIT, on Solaris 11, krb5-config --version returns: Solaris Kerberos (based ...
0
votes
1answer
1k views

NFS4: rpc.idmapd or nfs.idmap upcall?

https://www.kernel.org/doc/Documentation/filesystems/nfs/idmapper.txt states: The file /etc/request-key.conf will need to be modified so /sbin/request-key can direct the upcall. The following line ...
1
vote
1answer
2k views

NFS4 permission denied when userid does not match (even though idmap is working)

I have NFS4 setup with idmapd working correctly. ls -l from the client shows the correct user names, even though the user ids differ between the machines. However, when the user ids do not match, I ...
2
votes
1answer
70 views

NFS4 does group membership have to be manually synchronised between hosts?

I have NFS4 correctly mapping user and group IDs (using idmapd). Does group membership have to be synchronised across hosts manually or is it handled by idmapd or NFS itself? Example: # server ...
0
votes
2answers
812 views

How to monitor which files are accessed through NFS?

I have a linux file server running CentOS 6. Files are accessed via NFS4. Sometimes I have problems with disk io load. I want to find out what is causing them. I can find out which client is causing ...
1
vote
1answer
386 views

NFS exportfs spamming logs. Is this a broken setup?

I have a NFS server running Ubuntu 10.04, serving an OCFS2 filesystem. The setup is somehow complicated because the server has Heartbeat and Pacemaker installed to make a cluster with another server. ...
1
vote
1answer
2k views

NFSv4 “Too many levels of symbolic links” error

Both machines are running Ubuntu 12.04 Remote NFSv4 Client $ ls /mnt/storage/aaaaaaa_aaa/bbbb/cccc_ccccc gives this error: ls: reading directory .: Too many levels of symbolic links How can I fix ...
2
votes
2answers
731 views

Tons Of rpc.idmapd errors in syslog

I am growing weary of some error messages in my syslog - its showing: Jul 3 15:16:38 web rpc.idmapd[14535]: nss_getpwnam: name 'nobody' does not map into domain 'mydomain.com' I have check, my ...
1
vote
1answer
716 views

NFS4 (TCP) over openvpn (UDP) - mount can be browsed, but D/L kills it

Setup works (client can browse nfs over openvpn and do some work and file transfers), but something is wrong because the NFS/OpenVPN mount will fail/freeze mid-transfer and (among other things) ...
20
votes
1answer
3k views

Understanding NFS4 (Linux server)

I've been a bit bothered by NFS4 on Linux. Some information 'out there' seems to conflict with other information, and other information appears hard to find. So here are a couple of things that caught ...
2
votes
2answers
644 views

NFS4 Username Mapping Between OpenIndiana and Linux

I have an NFS4 share on an OpenIndiana server that I'm trying to properly access with an Ubuntu Linux machine. The username that owns the files in the share on the server is "nick" its UID is 104 on ...
3
votes
1answer
1k views

How do I disable NFSv3/v2 connections to a FreeBSD NFSv4 server?

I am using a Kubuntu 11.10 client with a FreeBSD 9.0 server. The server has the following lines in /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" and the ...