[gpfsug-discuss] mmfind -ls and so forth

John Hearns john.hearns at asml.com
Thu Mar 8 08:29:56 GMT 2018


On the subject of mmfind,
I would like to find files which have the misc attributes relevant to AFM.
For instance files which have the attribute 'v' The file is newly created, not yet copied to home
I can write a policy to do this, and I have a relevant policy written.

However I would like to do this using mmfind, which seems a nice general utility.
This syntax does not work:

mmfind /hpc -eaWithValue MISC_ATTRIBUTES===v

Before anyone says it, I am mixing up MISC_ATTRIBUTES and extended attributes!
My question really is - has anyone done this sort of serch using mmfind?

Thankyou



From: gpfsug-discuss-bounces at spectrumscale.org [mailto:gpfsug-discuss-bounces at spectrumscale.org] On Behalf Of Marc A Kaplan
Sent: Wednesday, March 07, 2018 8:16 PM
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Subject: Re: [gpfsug-discuss] mmfind -ls and so forth

As always when dealing with computers and potentially long running jobs, run a test on a handful of files first, so you can rapidly debug.
Did you read the mmfind.README ?

It mentions...that this sample utility "some user assembly required..."  ...

mmfindUtil_processOutputFile.c
  A utility to parse the "list file" produced by mmapplypolicy and to print
    it in a find-compatible format
  mmfind invokes it once mmapplypolicy begins to populate the "list file"

mmfindUtil_processOutputFile.sampleMakefile
  copy to 'makefile', modify as needed, and run 'make' to compile mmfindUtil_processOutputFile.c
  This should produce a binary called mmfindUtil_processOutputFile
  mmfind will not be able to run until this utility has been compiled
  on the node from which you launch mmfind.

Works for me...
[root at n2 ilm]# ./mmfind /goo/zdbig -ls
2463649  256 drwxr-xr-x   2 root     root       262144 Feb  9 11:41 /goo/zdbig
6804497    0 -rw-r--r--   1 root     root            0 Feb  9 11:41 /goo/zdbig/xy
-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. Neither the sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180308/5ae678cb/attachment-0002.htm>


More information about the gpfsug-discuss mailing list