Network File System version 4 (NFSv4)

learn more… | top users | synonyms

1
vote
1answer
16 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
27 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
26 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
36 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
35 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
69 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
29 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
31 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
74 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
146 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
0answers
300 views

NFS4 Kerberos Heimdal :: [mysterious] No credentials found to connection to server

I'm configuring NFS4 over Heimdal. After two days configuring this stuff, I've got to a point that all principals are found, everything is present in the keytab, but it still fails and I don't have a ...
0
votes
1answer
209 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
184 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
313 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
151 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
39 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
635 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 ...
0
votes
0answers
106 views

NFS + LDAP Setup. Nobody:nobody files ownership

I'm trying to setup an Ubuntu 12.04 NFS client and with users authenticating with an LDAP server via PAM. The users' home dirs are located in the NFS share (named /usrhome/, ie each user gets ...
1
vote
0answers
44 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
88 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
196 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
519 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
50 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
137 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
106 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
128 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
341 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
270 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
72 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
90 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
156 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
2k 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 ...
0
votes
1answer
1k 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
62 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
500 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 ...
0
votes
1answer
302 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
1k 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
599 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
556 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
2k 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
576 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 ...
2
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 ...
0
votes
1answer
782 views

Netboot Debian (wheezy) from NFS v4

Is it possible to boot Debian Wheezy from NFS v4? Bootwing with NFS v3 works just fine. NFS v4 not. This is in my /etc/exports: /nfs ...
2
votes
1answer
622 views

NFS mounts showing files from other mounts

I have a server that holds ZFS snapshots that I export via NFS to the servers they are backing up so you can restore via a custom application written in-house. The issue is as follows: NOTE: I am ...
2
votes
3answers
1k views

NFS4 client within OpenVZ container running Ubuntu 11.10?

I have an Ubuntu 11.10 VPS running inside OPenVZ with a hosting company. I'm trying to get it to mount a remote NFS server using NFS4, but can only get it working using version 3. I've been Googling ...
5
votes
1answer
604 views

NFSv4 - ACLs not working

I've setup an NFSv4 server (Debian) and client (Ubuntu/Mythbuntu). It seems that uid username mapping is working nicely out-of-the-box (I get correct usernames on ls -l if the usernames match between ...
4
votes
3answers
3k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
1
vote
0answers
707 views

nfs4 rpc.idmapd not working on one machine

I have an nfs4 server, with fsid=0 exported with no_subtree_check,no_all_squash,no_root_squash I have various clients working fine with this, a mixture of debian and arch, mounting with nfs4 and ...
1
vote
0answers
277 views

NFSv4 ACLS vs NFSv3 KRB5 - problems - alternatives?

So NFSv4 acls don't ignore the umask as far as I can tell. And nfsv3 with kerberos has its own host of problems (with autofs - race conditions with pam). So if we want to use an nfs like system with ...