Repeating nfsidmap 'timeout' messages in /var/log/messages

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 5.x/6.x/7.x
  • NFS3
  • NFS4

Issue

Receiving these messages in /var/log/messages frequently:

Jan 22 10:49:05 example.com nfsidmap[29196]: key: 0xb31918a type: uid value: timeout 600
Jan 22 10:49:05 example.com nfsidmap[29196]: nfs4_name_to_uid: calling nsswitch->name_to_uid
Jan 22 10:49:05 example.com nfsidmap[29196]: nss_getpwnam: name 'examplename@exampledomain.com' domain 'exampledomain.com': resulting localname 'youngpat'
Jan 22 10:49:05 example.com nfsidmap[29196]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
Jan 22 10:49:05 example.com nfsidmap[29196]: nfs4_name_to_uid: final return value is 0

Resolution

These messages can be disabled.

Set Verbosity=0 in /etc/idmapd.conf file.

Comment the parameter RPCIDMAPDARGS="-vvv" in /etc/sysconfig/nfs file in NFS client.

Then restart rpcidmapd service on NFS client.

Root Cause

Verbosity=10 was set in /etc/idmapd.conf which was producing verbosity about nfs information in the log files.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

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