mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 19:37:06 -05:00
Revise log documentation
This commit is contained in:
parent
b29500c25f
commit
58ca0b7057
3 changed files with 53 additions and 46 deletions
|
|
@ -198,13 +198,12 @@ Diagnostics Tags
|
|||
|
||||
Scan Tags
|
||||
These tags report detected differences between the filesystem and the
|
||||
content file. They are output for every discovered change, and
|
||||
`scan:equal` is only output when the `--gui` option is used.
|
||||
content file. They are output for every discovered change.
|
||||
|
||||
=scan:equal:<disk_name>:<path>
|
||||
A file, link, or directory is equal (unchanged).
|
||||
No action is required for this item.
|
||||
Only with `--gui-verbose`.
|
||||
Only produced when `--gui-verbose` option is used.
|
||||
|
||||
<disk_name> - Name of the data disk.
|
||||
<path> - Path to the file/link relative to the disk mount
|
||||
|
|
@ -571,13 +570,14 @@ Command Status Tags
|
|||
Up to 50 are logged per disk.
|
||||
|
||||
Block Information Tags
|
||||
These tags are generated when the GUI option is enabled (`state->opt.gui`).
|
||||
Status of all the blocks of the array.
|
||||
|
||||
=block_count:<uint>
|
||||
The total number of blocks in the array.
|
||||
|
||||
=block:<index>:<time>:<used>:<unsynced>:<bad>:<rehash>
|
||||
Status of a specific block.
|
||||
Only produced when `--gui-verbose` option is used.
|
||||
|
||||
<index> - Block index.
|
||||
<time> - Last scrub time (Unix timestamp). A value of 0 means
|
||||
|
|
@ -589,6 +589,7 @@ Command Status Tags
|
|||
|
||||
=block_noinfo:<index>:<used>:<unsynced>
|
||||
Status of an unused block (no info recorded) in the content file.
|
||||
Only produced when `--gui-verbose` option is used.
|
||||
|
||||
<index> - Block index.
|
||||
<used> - `used` if the block contains data, otherwise empty.
|
||||
|
|
@ -1001,14 +1002,15 @@ Command Smart And Probe Tags
|
|||
|
||||
<model> - The disk's model identifier (escaped).
|
||||
|
||||
=attr:<device_file>:<disk_name>[/<split_index>]:afr:<afr_value>:<afr_prob>
|
||||
=attr:<device_file>:<disk_name>[/<split_index>]:afr:<afr>:<prob>
|
||||
Logs the estimated Annual Failure Rate (AFR) and the
|
||||
probability of one failure in the next year based on SMART
|
||||
attributes. The AFR is calculated using the maximum rate
|
||||
reported by specific SMART attributes (5, 187, 188, 197, 198).
|
||||
probability of at least one failure in the next year based on
|
||||
SMART attributes. The AFR is calculated using the SMART
|
||||
attributes (5, 187, 188, 197, 198).
|
||||
|
||||
<afr_value> - The computed Annual Failure Rate (float).
|
||||
<afr_prob> - The probability of one or more failures in the
|
||||
<afr> - The computed Annual Failure Rate (the average number
|
||||
of failures you expect in a year) (float).
|
||||
<prob> - The probability of at least one failure in the
|
||||
next year (float).
|
||||
|
||||
=attr:<device_file>:<disk_name>[/<split_index>]:size:<size_bytes>
|
||||
|
|
@ -1078,11 +1080,12 @@ Command Smart And Probe Tags
|
|||
=summary:array_failure:<array_afr>:<array_prob>
|
||||
Logs the total estimated failure rate for the entire array
|
||||
(sum of individual disk AFRs) and the probability of at least
|
||||
one disk failure in the next year.
|
||||
one failure in the next year.
|
||||
|
||||
<array_afr> - The sum of AFRs of all disks in the array (float).
|
||||
<array_prob> - The probability of at least one disk failure in
|
||||
the next year (float).
|
||||
<array_afr> - The sum of AFRs of all disks in the array (the
|
||||
average number of failures you expect in a year) (float).
|
||||
<array_prob> - The probability of at least one failure in
|
||||
the next year (float).
|
||||
|
||||
Device Status Tags
|
||||
These tags log the lifecycle of hardware interactions and external
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue