Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-10-2006, 01:53 PM   #1
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
NFS4 UID/GID translation problem

I'm setting up a NFS4 server/client setup, and am having problems with UID/GIDs, ownership, and ultimately, permissions.

I can mount the export and can view the files. However, I cannot write to the files. When I do a long listing, it shows unusual owning user, owning group info - it shows a long hash of numbers as the owner, and a long hash of numbers as the group. This isn't what the host server shows as the ownership locally.

I know it isn't the client, because I mounted it locally (on the same box the export is housed on), and it does the same thing.

Here is my export:
/data *(rw,wdelay,insecure,sync,fsid=0,no_subtree_check)

Here is my mount command:
mount -t nfs4 /media/nfs4

How do I fix this problem?
Old 09-10-2006, 02:13 PM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
I dont know is it me or.....
I see you have exported the /data dir and are trying to mount the / dir.

is that correct?
Old 09-10-2006, 04:47 PM   #3
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
I am exporting /data on the server and mounting it on the client. The syntax (/data vs /) is correct because of the pseudofilesystem features of NFS4 (syntax varies from NFS3).

I just don't know why the ownership isn't coming across the mount.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
what is uid and gid rmanocha Linux - Software 9 08-18-2008 11:03 PM
Lost /etc/passwd, now UID/GID are different from before. Is this OK? gian2oo1 Linux - Newbie 2 07-05-2006 09:01 PM
Shell Script :- to get UID and GID furquan Programming 30 02-21-2006 07:44 AM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 11:39 AM
changing uid, gid zeke1955 Linux - General 4 01-09-2004 11:53 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:14 PM.

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