[gpfsug-discuss] policy ilm features?

Jan-Frode Myklebust janfrode at tanso.net
Fri Feb 19 12:50:08 GMT 2021


We just discussed this a bit internally, and I found "something* that might
help... There's a mmrestripefs --inode-criteria command that can be used to
identify files with these unknown-to-ILM flags set. Something like:

# echo illreplicated > criteria
# mmrestripefs gpfs01 -p --inode-criteria criteria -o result
Scanning file system metadata, phase 1 ...
 100 % complete on Thu Feb 18 15:30:10 2021
Scan completed successfully.
Scanning file system metadata, phase 2 ...
 100 % complete on Thu Feb 18 15:30:10 2021
Scan completed successfully.
Scanning file system metadata, phase 3 ...
Scan completed successfully.
Scanning file system metadata, phase 4 ...
 100 % complete on Thu Feb 18 15:30:10 2021
Scan completed successfully.
Scanning file system metadata, phase 5 ...
 100 % complete on Thu Feb 18 15:30:10 2021
Scan completed successfully.
Scanning user file metadata ...
 100.00 % complete on Thu Feb 18 15:30:14 2021  (    835584 inodes
with total       4271 MB data processed)
Scan completed successfully.
Check file '/mnt/gpfs01/result' on scale-dev-01 for inodes with broken
disk addresses or failures.
# cat /mnt/gpfs01/result
This inode list was generated in the Parallel Inode Traverse on Thu
Feb 18 15:30:10 2021
INODE_NUMBER DUMMY_INFO SNAPSHOT_ID ISGLOBAL_SNAPSHOT
INDEPENDENT_FSETID MEMO(INODE_FLAGS FILE_TYPE [ERROR])
 55559        0:0        0           1                 0
   illreplicated unbalanced REGULAR_FILE

Unclear to me if "-p" is too much work for this task though, or maybe
it can be limited with --metadata-only or other options..


HTH




On Sat, Jan 20, 2018 at 12:10 AM Edward Wahl <ewahl at osc.edu> wrote:

>
> This one has been on my list a long time so I figured I'd ask here first
> before
> I open an apar or request an enhancement (most likely).
>
>  Is there a way using the policy engine to determine the following?
>
> -metadata replication total/current
> -unbalanced file
>
> Looking to catch things like this that stand out on my filesystem without
> having to run several hundred million 'mmlsattr's.
>
> metadata replication: 1 max 2
> flags:                unbalanced
>
> Ed
>
>
>
> --
>
> Ed Wahl
> Ohio Supercomputer Center
> 614-292-9302
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210219/02d4da03/attachment-0002.htm>


More information about the gpfsug-discuss mailing list