[gpfsug-discuss] mmapplypolicy oddity
Oesterlin, Robert
Robert.Oesterlin at nuance.com
Fri Jun 19 13:29:17 BST 2020
I have a policy scan that walks a fileset and creates a report. In some cases, the SHOW output doesn’t happen and I have no idea why. Here is a case in point. Both lines are the same sym-link, the “.bad” one fails to output the information. Ideas on how to debug this?
<1> /gpfs/fs1/some-path /liblinear.bad [2019-08-05 at 22:19:23 6233 100 50 system 2020-06-18 at 13:36:36 64 nlu] RULE 'dumpall' LIST 'nlu' DIRECTORIES_PLUS WEIGHT(inf)
<5> /gpfs/fs1/some-path /liblinear [2020-06-18 at 13:39:40 6233 100 50 system 2020-06-18 at 13:39:40 0 nlu] RULE 'dumpall' LIST 'nlu' DIRECTORIES_PLUS WEIGHT(inf) SHOW( |6233|100|lrwxrwxrwx|50|0|1|1592487581 |1592487581 |1592487581 |L|)
In that directory:
lrwxrwxrwx 1 build users 50 Jun 18 09:39 liblinear -> ../../path1/UIMA/liblinear <- A new one I created that identical
lrwxrwxrwx 1 build users 50 Aug 5 2019 liblinear.bad -> ../../path1/UIMA/liblinear <- the original one that fails
The list rule looks like this:
rule 'dumpall' list '"$fileset_name"' DIRECTORIES_PLUS
SHOW( '|' ||
varchar(user_id) || '|' ||
varchar(group_id) || '|' ||
char(mode) || '|' ||
varchar(file_size) || '|' ||
varchar(kb_allocated) || '|' ||
varchar(nlink) || '|' ||
unixTS(access_time,19) || '|' ||
unixTS(modification_time) || '|' ||
unixTS(creation_time) || '|' ||
char(misc_attributes,1) || '|'
)
Bob Oesterlin
Sr Principal Storage Engineer, Nuance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20200619/eb1c7b94/attachment.htm>
More information about the gpfsug-discuss
mailing list