: gpfsug-discuss-boun...@spectrumscale.org
On Behalf Of Lohit Valleru
Sent: 08 June 2020 18:44
To: gpfsug main discussion list
Subject: [gpfsug-discuss] Change uidNumber and gidNumber for billions of files
Hello Everyone,
We are planning to migrate from LDAP to AD, and one of the best solution was to
cha
I seem to remember Marc Kaplan discussing using the ILM and mmfind for this.
There is a presentation from 2018 which skims on an example
http://files.gpfsug.org/presentations/2018/USA/SpectrumScalePolicyBP.pdf
-- Lauz
On 10/06/2020 23:40, Kerner, Chad A wrote:
You can do a policy scan though
You can do a policy scan though and get a list of files that have ACLs applied
to them. Then you would not have to check every file with a shell utility or C,
just process that list. Likewise, you can get the uid/gid as well and process
that list with the new mapping(split it into multiple list
On 10/06/2020 16:31, Lohit Valleru wrote:
[SNIP]
> I might mostly start small with a single lab, and only change files
> without ACLs. May I know if anyone has a method/tool to find out
which > files/dirs have NFS4 ACLs set? As far as we know - it is just one
> fileset/lab, but it would be goo
Thank you everyone for the Inputs.
The answers to some of the questions are as follows:
> From Jez: I've done this a few times in the past in a previous life. In many
> respects it is easier (and faster!) to remap the AD side to the uids already
> on the filesystem.
- Yes we had considered/att
On 10/06/2020 02:15, Aaron Knister wrote:
Lohit,
I did this while working @ NASA. I had two tools I used, one
affectionately known as "luke file walker" (to modify traditional unix
permissions) and the other known as the "milleniumfacl" (to modify posix
ACLs). Stupid jokes aside, there were s
ectrumscale.org"
Date: Wednesday, 10 June 2020 at 02:16
To: "gpfsug-discuss@spectrumscale.org"
Subject: Re: [gpfsug-discuss] Change uidNumber and gidNumber for billions of
files
Lohit,
I did this while working @ NASA. I had two tools I used, one affectionately
known as "luke
Lohit,
I did this while working @ NASA. I had two tools I used, one affectionately
known as "luke file walker" (to modify traditional unix permissions) and
the other known as the "milleniumfacl" (to modify posix ACLs). Stupid jokes
aside, there were some real technical challenges here.
I don't kn
On 09/06/2020 14:57, Jonathan Buzzard wrote:
[SNIP]
I actually thinking on it more thought a generic C random UID/GID to
UID/GID mapping program is a really simple piece of code and should be
nearly as fast as chown -R. It will be very slightly slower as you have
to look the mapping up for
Jonathan brings up a good point that you’ll only get one shot at this — if
you’re using the file system as your record of who owns what.
You might want to use the policy engine to record the existing file names and
ownership (and then provide updates using the same policy engine for the things
On 09/06/2020 14:07, Stephen Ulmer wrote:
Jonathan brings up a good point that you’ll only get one shot at this —
if you’re using the file system as your record of who owns what.
Not strictly true if my existing UID's are in the range 1-1 and
my target UID's are in the range 5-
On 08/06/2020 18:44, Lohit Valleru wrote:
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
uidNumb
> I presume there is a large technical blocker which is why you are looking at
> remapping the filesystem?
Like anytime there is a corporate AD with mandated attributes? 😊
Though isn’t there an AD thing now for doing schema view type things now which
allow you to inherit certain attributes and
>
>
> - Original message -
> From: Jim Doherty
> Sent by: gpfsug-discuss-boun...@spectrumscale.org
> To: gpfsug main discussion list
> Cc:
> Subject: [EXTERNAL] Re: [gpfsug-discuss] Change uidNumber and
> gidNumber for billions of
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
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
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
17 matches
Mail list logo