UID/GID Mappings on NFS mounts in RHEL 6.5

Latest response

We are preparing to upgrade our servers to RHEL 6.5 from 5.6. Everything on the test server running 6.5 (ComputeNode, Kernel 2.6.32-431.5.1.el6.x86_64) is working well except for NFS. We have a storage array from Sun that shares out several mounts through NFS. The shares are mounted on startup through /etc/fstab. However, whenever a user (whether from NIS or now Active Directory) logs into the test server and access the shares, the UID and GID are set to nobody (99). If a user saves something to the share, it is seen as nobody and the UID/GID of the user. Has anyone else encountered this problem? How do you resolve this issue? We have seen this happen on another RHEL 6 server we have and a user that has CentOS 6.5 on his laptop noticed the same thing happen. We don't have this problem on our existing RHEL 5.6 server and the /etc/fstab NFS mounts are entered the same way on both RHEL 5 and RHEL 6 servers.

Output of /etc/fstab and /etc/idmapd.conf are below:

/etc/fstab
#

/etc/fstab

Created by anaconda on Tue Dec 10 03:24:33 2013

#

Accessible filesystems, by reference, are maintained under '/dev/disk'

See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

#
/dev/mapper/vg_lcompclone-lv_root / ext4 defaults 1 1
UUID=3af7c43d-00dd-4b05-867d-ccea896b0087 /boot ext4 defaults 1 2
/dev/mapper/vg_lcompclone-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

7410 Storage System

share-2:/export/a /mnt/a nfs rsize=32768,wsize=32768
share-2:/export/c /mnt/c nfs rsize=32768,wsize=32768
share-2:/export/g /mnt/g nfs rsize=32768,wsize=32768
share-2:/export/s6 /mnt/s nfs rsize=32768,wsize=32768
share-2:/export/p /mnt/p nfs rsize=32768,wsize=32768
share-2:/export/r /mnt/r nfs rsize=32768,wsize=32768
share-2:/export/d /mnt/d nfs rsize=32768,wsize=32768
share-2:/export/m /mnt/m nfs rsize=32768,wsize=32768
share-2:/export/NBCD /mnt/n nfs rsize=32768,wsize=32768
share-2:/export/asf/dirs /mnt/r/ASF nfs rsize=32768,wsize=32768
share-2:/export/whipstor /mnt/whipstor nfs rsize=32768,wsize=32768
share-2:/export/w /mnt/w nfs rsize=32768,wsize=32768

7320 Storage Array

192.168.170.59:/export/z /mnt/z nfs rsize=32768,wsize=32768

/etc/idmapd.conf
[General]

Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain

[Mapping]

Nobody-User = nobody
Nobody-Group = nobody

[Translation]

Method = nsswitch

Responses

This solution article might help:

https://access.redhat.com/site/solutions/33455

That article helped out. Thank you.

The other option I was going to suggest was to force vers=3 option on NFS clients to see if that resolved the issue as I gather your older (working) RHEL servers are using NFS version 3 and that is why they aren't displaying the same symptoms.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.