Hi If you want to use NFSv3 , define only NFSv3 on the export. In case you work with NFSv4 - you should have "DOMAIN\user" all the way - so this way you will not get any user mismatch errors, and see permissions like nobody.
Regards Yaron Daniel 94 Em Ha'Moshavot Rd Storage Architect Petach Tiqva, 49527 IBM Global Markets, Systems HW Sales Israel Phone: +972-3-916-5672 Fax: +972-3-916-5672 Mobile: +972-52-8395593 e-mail: [email protected] IBM Israel From: Jagga Soorma <[email protected]> To: [email protected] Date: 05/07/2018 06:05 AM Subject: Re: [gpfsug-discuss] CES NFS export Sent by: [email protected] 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 <[email protected]> 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! _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
