Good morning,

take a look in this directory:

cd /usr/lpp/mmfs/samples/ilm/

mmfind or rather tr_findToPol.pl could help you to create a rule/policy.

Regards,
Matthias




Von:    Marcus Koenig <mar...@koenighome.de>
An:     gpfsug-discuss@spectrumscale.org
Datum:  22.11.2017 04:13
Betreff:        [Newsletter] [gpfsug-discuss] setxattr via policy
Gesendet von:   gpfsug-discuss-boun...@spectrumscale.org



Hi there,

I've got a question around setting userdefined extended attributes. I have 
played around a bit with setting certain attributes via mmchattr - but now 
I want to run a policy to do this for me for certain filesets or file 
sizes.

How would I write my policy to set an attribute like 
user.testflag1=projectX on a number of files in a fileset that are bigger 
than 1G for example?

Thanks folks.

Cheers,
Marcus_______________________________________________
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

Reply via email to