[gpfsug-discuss] setxattr via policy

Marcus Koenig marcus at koenighome.de
Wed Nov 22 03:13:18 GMT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20171122/202ac580/attachment-0001.htm>


More information about the gpfsug-discuss mailing list