tools:scan_slices
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:scan_slices [2024/05/09 18:15] – vignesh | tools:scan_slices [2024/05/30 15:00] (current) – vignesh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scan Slices ====== | ====== Scan Slices ====== | ||
+ | {{ : | ||
** What is the use of the tools ? ** \\ | ** What is the use of the tools ? ** \\ | ||
Scan each slice directory and compares the details with metaslice db and prints the results in table-format | Scan each slice directory and compares the details with metaslice db and prints the results in table-format | ||
Line 9: | Line 10: | ||
* The difference between the two timestamps should be below or equal to 10 min. | * The difference between the two timestamps should be below or equal to 10 min. | ||
* And it also check the archive file is present in each slice directory and print the status in terminal | * And it also check the archive file is present in each slice directory and print the status in terminal | ||
- | * | + | |
** Options ** \\ | ** Options ** \\ | ||
- | ^ Syntax | + | ^ Syntax |
- | | scan_slices . | Print all slice details of current directory | | + | | scan_slices . | Print all slice details of current |
- | | scan_slice SLICE_NAME | + | | scan_slice SLICE_NAME |
- | | scan_slice / | + | | scan_slice / |
+ | |**Optional Arguments** | | ||
+ | | -d mismatched date | Prints slices which have date mismatch | ||
+ | | -s slice missing in db | Prints slices which are not present in db | You should provide -s as argument to any of the first 3 options | ||
** Description of each column ** \\ | ** Description of each column ** \\ | ||
Line 31: | Line 35: | ||
- | ** Example ** \\ | + | ** Example |
/ | / | ||
{{: | {{: | ||
< | < | ||
+ | ** Example 2 ** \\ | ||
+ | / | ||
+ | {{: | ||
tools/scan_slices.1715258746.txt.gz · Last modified: 2024/05/09 18:15 by vignesh