lio_inspect OPTIONS [LIO_COMMON_OPTIONS] [LIO_PATH_OPTIONS]
Inspect the data integrity of files and optionally repair them.
Inspection option. Note that replacing a missing allocation requires the -f option otherwise the repair will fail. The available inspection options are listed in the table.
Inspection Option | Description |
---|---|
inspect_quick_check | Quick check verifying all allocations exist and have the correct size. |
inspect_scan_check | Performs a quick check and verifies no obvious data corruption by checking magic values. |
inspect_full_check | Performs a quick check and does a byte level check for data corruption. |
inspect_quick_repair | Same as quick check but fixes size or missing allocation issues. |
inspect_scan_repair | Same as a scan check and quick repair but repairs but repairs rows with bad magic values. |
inspect_full_repair | Same as a full check but fixes allocation issues and does a full byte level verification and repair |
inspect_soft_errors | Report the number of soft errors recorded for the file. Soft errors are recoverable errors. |
inspect_hard_errors | Report the number of unrecoverable or hard errors recorded. |
inspect_migrate | Migrate data based on the constraints provided by the -q and -bl options. If -r is not used depot to depot copies are used to move data if available. Otherwise data is reconstructed from parity. |
Please report any bugs to support@lstore.org.