Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17825

NFS4 Stale with UID/GID mapping

$
0
0

Hi guys,

I hope you've some more experience with nfs4 and the uid/gid mapping than me.

I want to mount a nfs4 Share from our Storage on our RHEL7.2 System. I've installed & configured the idmapper properly.

Unfortunately I run into some problems with the gid/uid mapping....

When I create a file with the root user, the fileowner becomes nobody:nobody. That's the correct behavior.

We've created a user on both systems (the RHEL-System and the Storage) that should become the fileowner of the files created on the share. Thats also working.

The problem:

When I create a file as any other user (not root and not the user we created on storage and server side) the nfs-share gets into a stale state. It is not possible to access the nfs share anymore.

When I umount the NFS-Share and re-mount with nfs3. I can see, that the fileowner of the created file, is the user, instead of nobody:nobody!? Why? And how is this even possible, when the user isnt created on the storageside!?

thanking you in anticipation!

Best regards!

submitted by /u/pwn1ca
[link] [comments]

Viewing all articles
Browse latest Browse all 17825

Trending Articles