LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-03-2013, 04:12 AM   #1
Shmiti
LQ Newbie
 
Registered: Apr 2013
Posts: 6

Rep: Reputation: Disabled
NFS problem with idmapd


There are TONS of articles about NFS shares with ownership of "nobody"
mine is a lil different.

for some reason only SOME of the files are owned by nobody (not all of them) the others, have the proper ownership.
Troubleshooting:

Part 1 - Running rpcidmapd on client with extensive logging
Enabled logging, tail -f on the messages file, restarted rpcidmapd on client, on server, umounted and remounted, nothing happened in the logs except for the logs from the startup and shutdown of the services, this pushed me twards caching

Part 2 - Disabling NSCD
and yet again, tail -f on the messages, restarted anything I can, and still, nothing, no calls sent to the server, maybe it's cached in the rpcidmapd?

Part 3 - Changing mount server
unmounted the NFS, changed the hostname (to an alias) in /etc/hosts, mounted again, and w00t!! I see translations of users, but still, not of all of them back to square 1

Part 4 - Act of dispare
stopped the rpcidmapd on the client, unmounted the NFS, REMOVED nfs-utils and nfs-utils-libs, then re-installed them, tried again, and yet again, same folders have proper permissions, and others don't.

Before you go "change the Domain= directive in the /etc/idmapd.conf", that was done far before part 1, both servers are CentOs6.

help? idea?
 
Old 04-03-2013, 06:30 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Are you mounting using nfs4 ?
 
Old 04-03-2013, 06:43 AM   #3
Shmiti
LQ Newbie
 
Registered: Apr 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
home_nfs:/home /home nfs soft 0 0

V3

---------- Post added 04-03-13 at 01:44 PM ----------

but it's the same with v4
 
Old 04-03-2013, 06:55 AM   #4
Shmiti
LQ Newbie
 
Registered: Apr 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
SOLVED

and I was right, it's the idmapd cache
the command is: nfsidmap -c
 
Old 04-09-2013, 07:55 AM   #5
shankerlee
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
very good solution, values to study
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFSv4 and idmapd working only in one direction afuerst Linux - Server 1 02-25-2011 11:07 PM
Advantage of idmapd dhanju Linux - Server 2 07-27-2010 01:17 PM
NFSv$ and idmapd configs??? worm5252 Linux - Server 1 06-09-2009 02:14 PM
Use of /etc/idmapd.conf ?? vikas027 Linux - Networking 1 11-01-2008 10:17 AM
NFS & idmapd ... nobody owns everything utahnix Linux - Networking 1 11-29-2007 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration