Re: [gpfsug-discuss] Change uidNumber and gidNumber for billions of files

2020-06-08 Thread Jez Tucker
Hi Lohit (hey Jim & Christof),   Whilst you _could_ trawl your entire filesystem, flip uids and work out how to successfully replace ACL ids without actually pushing ACLs (which could break defined inheritance options somewhere in your file tree if you had not first audited your filesystem) the sy

Re: [gpfsug-discuss] Change uidNumber and gidNumber for billions of files

2020-06-08 Thread Jim Doherty
You will need to do this with chown from the  c library functions  (could do this from perl or python).   If you try to change this from a shell script  you will hit the Linux command  which will have a lot more overhead. I had a customer attempt this using the shell and it ended up taking

Re: [gpfsug-discuss] Change uidNumber and gidNumber for billions of files

2020-06-08 Thread Christof Schmitt
If there are ACLs, then you also need to update all ACLs  (gpfs_getacl(), update uids and gids in all entries, gpfs_putacl()), in addition to the chown() call.   Regards,   Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZchristof.schm...@us.ibm.com  ||  +1-520-799-2469    (T/L: 3

[gpfsug-discuss] Change uidNumber and gidNumber for billions of files

2020-06-08 Thread Lohit Valleru
Hello Everyone, We are planning to migrate from LDAP to AD, and one of the best solution was to change the uidNumber and gidNumber to what SSSD or Centrify would resolve. May I know, if anyone has come across a tool/tools that can change the uidNumbers and gidNumbers of billions of files effici