Looks like this is due to nfs v4 and idmapd domain not being configured correctly. I am going to test further and reach out if more assistance is needed. Thanks! On Sun, May 6, 2018 at 6:35 PM, Jagga Soorma <jagga13@gmail.com> wrote:
Hi Guys,
We are new to gpfs and have a few client that will be mounting gpfs via nfs. We have configured the exports but all user/group permissions are showing up as nobody. The gateway/protocol nodes can query the uid/gid's via centrify without any issues as well as the clients and the perms look good on a client that natively accesses the gpfs filesystem. Is there some specific config that we might be missing?
-- # mmnfs export list --nfsdefs /gpfs/datafs1 Path Delegations Clients Access_Type Protocols Transports Squash Anonymous_uid Anonymous_gid SecType PrivilegedPort DefaultDelegations Manage_Gids NFS_Commit ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /gpfs/datafs1 NONE {nodenames} RW 3,4 TCP ROOT_SQUASH -2 -2 SYS FALSE NONE TRUE FALSE /gpfs/datafs1 NONE {nodenames} RW 3,4 TCP NO_ROOT_SQUASH -2 -2 SYS FALSE NONE TRUE FALSE /gpfs/datafs1 NONE {nodenames} RW 3,4 TCP ROOT_SQUASH -2 -2 SYS FALSE NONE TRUE FALSE --
On the nfs clients I see this though:
-- # ls -l total 0 drwxrwxr-t 3 nobody nobody 4096 Mar 20 09:19 dir1 drwxr-xr-x 4 nobody nobody 4096 Feb 9 17:57 dir2 --
Here is our mmnfs config:
-- # mmnfs config list
NFS Ganesha Configuration: ========================== NFS_PROTOCOLS: 3,4 NFS_PORT: 2049 MNT_PORT: 0 NLM_PORT: 0 RQUOTA_PORT: 0 NB_WORKER: 256 LEASE_LIFETIME: 60 DOMAINNAME: VIRTUAL1.COM DELEGATIONS: Disabled ==========================
STATD Configuration ========================== STATD_PORT: 0 ==========================
CacheInode Configuration ========================== ENTRIES_HWMARK: 1500000 ==========================
Export Defaults ========================== ACCESS_TYPE: NONE PROTOCOLS: 3,4 TRANSPORTS: TCP ANONYMOUS_UID: -2 ANONYMOUS_GID: -2 SECTYPE: SYS PRIVILEGEDPORT: FALSE MANAGE_GIDS: TRUE SQUASH: ROOT_SQUASH NFS_COMMIT: FALSE ==========================
Log Configuration ========================== LOG_LEVEL: EVENT ==========================
Idmapd Configuration ========================== LOCAL-REALMS: LOCALDOMAIN DOMAIN: LOCALDOMAIN ========================== --
Thanks!
