Command: lio_inspect

Usage: lio_inspect LIO_COMMON_OPTIONS [-rd recurse_depth] [-b bufsize_mb] [-f] [-s] [-r] [-q extra_query] [-bl key value] [-p] -o inspect_opt LIO_PATH_OPTIONS

LIO_COMMON_OPTIONS
-d level – Set the debug level (0-20). Defaults to 0
-no-auto-lfs – Disable auto-conversion of LFS mount paths to lio
-c config – Configuration file
-lc user@config – Use the user and config section specified for making the default LIO
-np N – Number of simultaneous operations. Default is 100.
-i N – Print information messages of level N or greater. No header is printed
-it N – Print information messages of level N or greater. Thread ID header is used
-if N – Print information messages of level N or greater. Full header is used

LIO_PATH_OPTIONS: [-rp regex_path | -gp glob_path] [-ro regex_objext | -go glob_object] [path_1 … path_N]
-rp regex_path – Regex of path to scan
-gp glob_path – Glob of path to scan
-ro regex_obj – Regex for final object selection.
-go glob_obj – Glob for final object selection.
path1 .. pathN – Glob of paths to target

-rd recurse_depth – Max recursion depth on directories. Defaults to 10000
-b bufsize_mb – Buffer size to use in MBytes for *each* inspect (Default=20MB)
-s – Report soft errors, like a missing RID in the config file but the allocation is good.
The default is to ignore these type of errors.
-r – Use reconstruction for all repairs. Even for data placement issues.
Not always successful. Try without option in those cases.
Even for data placement issues. Could fail
-q extra_query – Extra RS query for data placement. AND-ed with default query
-bl key value – Blacklist the given key/value combination. Multiple -bl options can be provided
For a RID use: rid_key rid Hostname: host hostname
-f – Forces data replacement even if it would result in data loss
-p – Print the resulting query string
-o inspect_opt – Inspection option. One of the following:
inspect_quick_check
inspect_scan_check
inspect_full_check
inspect_quick_repair
inspect_scan_repair
inspect_full_repair
inspect_soft_errors
inspect_hard_errors
inspect_migrate