I have 5.0.4 for the moment (planned to be updated next year) and what I see is:
[root@sf-dss-1 tmp]# locate mmfind
/usr/lpp/mmfs/samples/ilm/mmfind
/usr/lpp/mmfs/samples/ilm/mmfind.README
/usr/lpp/mmfs/samples/ilm/mmfindUtil_processOutputFile.c
/usr/lpp/mmfs/samples/ilm/mmfindUtil_processOutputFile.sampleMakefile
Is that what you are talking about ?
Thanks,
Alvise
Da: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org>
Per conto di Frederick Stock
Inviato: martedì 7 dicembre 2021 15:02
A: gpfsug-discuss@spectrumscale.org
Cc: gpfsug-discuss@spectrumscale.org
Oggetto: Re: [gpfsug-discuss] Question on changing mode on many files
If you are running on a more recent version of Scale you might want to look at the mmfind command. It provides a find-like wrapper around the execution of policy rules.
Fred
_______________________________________________________
Fred Stock | Spectrum Scale Development Advocacy | 720-430-8821
stockf@us.ibm.com
----- Original message -----
From: "Dorigo Alvise (PSI)" <alvise.dorigo@psi.ch>
Sent by: gpfsug-discuss-bounces@spectrumscale.org
To: "'gpfsug main discussion list'" <gpfsug-discuss@spectrumscale.org>
Cc:
Subject: [EXTERNAL] [gpfsug-discuss] Question on changing mode on many files
Date: Tue, Dec 7, 2021 8:53 AM
Dear users/developers/support,
I’d like to ask if there is a fast way to manipulate the permission mask of many files (millions).
I tried on 900k files and a recursive chmod (chmod 0### -R path) takes about 1000s, with about 50% usage of mmfsd daemon.
I tried with the perl’s internal function chmod that can operate on an array of files, and it takes about 1/3 of the previous method. Which is already a good result.
I’ve seen the possibility to run a policy to execute commands, but I would avoid to execute external commands through mmxargs, 1M of times; would you ?
Does anybody have any suggestion to do this operation with minimum disruption on the system ?
Thank you,
Alvise
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss