mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 18:06:28 -05:00
Reworked recover tags
This commit is contained in:
parent
e743e23555
commit
2cbc172fd3
4 changed files with 95 additions and 37 deletions
|
|
@ -1801,6 +1801,30 @@ The integer exit status returned by the
|
|||
process (int).
|
||||
.PD
|
||||
.RE
|
||||
.SH STATUS TAGS
|
||||
These tags log the recovery status of files after a \`check\` or \`fix\`
|
||||
command.
|
||||
.TP
|
||||
.B status:unrecoverable:<disk_name>:<file_path>
|
||||
The file is not recoverable. If a \`fix\` command was run, it
|
||||
was also renamed with the \`.unrecoverable\` extension.
|
||||
.RS 4
|
||||
.PD 0
|
||||
.HP 4
|
||||
.I <disk_name>
|
||||
The name of the disk.
|
||||
.HP 4
|
||||
.I <file_path>
|
||||
The file path relative to disk root (escaped).
|
||||
.PD
|
||||
.RE
|
||||
.TP
|
||||
.B status:recovered:<disk_name>:<file_path>
|
||||
The file was recovered by a \`fix\` command.
|
||||
.TP
|
||||
.B status:recoverable:<disk_name>:<file_path>
|
||||
The file is recoverable, and will be recovered by a \`fix\`
|
||||
command.
|
||||
.SH ERROR TAGS
|
||||
These tags report specific errors that occur on data disks during the
|
||||
commands that access files and parities.
|
||||
|
|
@ -1833,7 +1857,7 @@ file containing the block (escaped).
|
|||
.HP 4
|
||||
.I <msg>
|
||||
A descriptive message indicating the nature of the
|
||||
error (e.g., \`Open/Read/Write EIO error\`, \`Open/Read/Write error\`,
|
||||
error (e.g., \`Open/Read/Write error\`,
|
||||
\`Data error at position <pos>, diff bits <diff>/<bits>\`).
|
||||
.PD
|
||||
.RE
|
||||
|
|
@ -1862,12 +1886,12 @@ The configuration name of the parity level (e.g.,
|
|||
.HP 4
|
||||
.I <msg>
|
||||
A descriptive message indicating the nature of the
|
||||
error (e.g., \`Read/Write EIO error\`, \`Read/Write error\`,
|
||||
error (e.g., \`Read/Write error\`,
|
||||
\`Data error, diff bits <diff>/<bits>\`).
|
||||
.PD
|
||||
.RE
|
||||
.TP
|
||||
.B hardlink_error:<disk_name>:<link_path>:<target_path>:<msg>
|
||||
.B hardlink_error[_io]:<disk_name>:<link_path>:<target_path>:<msg>
|
||||
Indicates an error when attempting to access a hard link.
|
||||
.RS 4
|
||||
.PD 0
|
||||
|
|
@ -1890,7 +1914,7 @@ error (e.g., \`Hardlink stat error\`,
|
|||
.PD
|
||||
.RE
|
||||
.TP
|
||||
.B symlink_error:<disk_name>:<link_path>:<msg>
|
||||
.B symlink_error[_io]:<disk_name>:<link_path>:<msg>
|
||||
Indicates an error when attempting to access a symbolic link.
|
||||
.RS 4
|
||||
.PD 0
|
||||
|
|
@ -1908,7 +1932,7 @@ error (e.g., \`Symlink read error\`,
|
|||
.PD
|
||||
.RE
|
||||
.TP
|
||||
.B dir_error:<disk_name>:<dir_path>:<msg>
|
||||
.B dir_error[_io]:<disk_name>:<dir_path>:<msg>
|
||||
Indicates an error when attempting to access a directory.
|
||||
.RS 4
|
||||
.PD 0
|
||||
|
|
|
|||
|
|
@ -1146,6 +1146,24 @@ Device Status Tags
|
|||
<exit_code> - The integer exit status returned by the
|
||||
process (int).
|
||||
|
||||
Status Tags
|
||||
These tags log the recovery status of files after a `check` or `fix`
|
||||
command.
|
||||
|
||||
=status:unrecoverable:<disk_name>:<file_path>
|
||||
The file is not recoverable. If a `fix` command was run, it
|
||||
was also renamed with the `.unrecoverable` extension.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
<file_path> - The file path relative to disk root (escaped).
|
||||
|
||||
=status:recovered:<disk_name>:<file_path>
|
||||
The file was recovered by a `fix` command.
|
||||
|
||||
=status:recoverable:<disk_name>:<file_path>
|
||||
The file is recoverable, and will be recovered by a `fix`
|
||||
command.
|
||||
|
||||
Error Tags
|
||||
These tags report specific errors that occur on data disks during the
|
||||
commands that access files and parities.
|
||||
|
|
@ -1165,7 +1183,7 @@ Error Tags
|
|||
<file> - The path (relative to the disk mount point) of the
|
||||
file containing the block (escaped).
|
||||
<msg> - A descriptive message indicating the nature of the
|
||||
error (e.g., `Open/Read/Write EIO error`, `Open/Read/Write error`,
|
||||
error (e.g., `Open/Read/Write error`,
|
||||
`Data error at position <pos>, diff bits <diff>/<bits>`).
|
||||
|
||||
=parity_error[_io|_data]:<block>:<level>:<msg>
|
||||
|
|
@ -1181,10 +1199,10 @@ Error Tags
|
|||
<level> - The configuration name of the parity level (e.g.,
|
||||
`parity`, `2-parity`).
|
||||
<msg> - A descriptive message indicating the nature of the
|
||||
error (e.g., `Read/Write EIO error`, `Read/Write error`,
|
||||
error (e.g., `Read/Write error`,
|
||||
`Data error, diff bits <diff>/<bits>`).
|
||||
|
||||
=hardlink_error:<disk_name>:<link_path>:<target_path>:<msg>
|
||||
=hardlink_error[_io]:<disk_name>:<link_path>:<target_path>:<msg>
|
||||
Indicates an error when attempting to access a hard link.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
|
|
@ -1196,7 +1214,7 @@ Error Tags
|
|||
`Hardlink-to error for not regular file`,
|
||||
`Hardlink mismatch for different inode`).
|
||||
|
||||
=symlink_error:<disk_name>:<link_path>:<msg>
|
||||
=symlink_error[_io]:<disk_name>:<link_path>:<msg>
|
||||
Indicates an error when attempting to access a symbolic link.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
|
|
@ -1205,7 +1223,7 @@ Error Tags
|
|||
error (e.g., `Symlink read error`,
|
||||
`Symlink data error '<actual>' instead of '<expected>'`).
|
||||
|
||||
=dir_error:<disk_name>:<dir_path>:<msg>
|
||||
=dir_error[_io]:<disk_name>:<dir_path>:<msg>
|
||||
Indicates an error when attempting to access a directory.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
|
|
|
|||
|
|
@ -1196,7 +1196,28 @@ command execution with the `smartctl` command.
|
|||
process (int).
|
||||
|
||||
|
||||
17 ERROR TAGS
|
||||
17 STATUS TAGS
|
||||
==============
|
||||
|
||||
These tags log the recovery status of files after a `check` or `fix`
|
||||
command.
|
||||
|
||||
status:unrecoverable:<disk_name>:<file_path>
|
||||
The file is not recoverable. If a `fix` command was run, it
|
||||
was also renamed with the `.unrecoverable` extension.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
<file_path> - The file path relative to disk root (escaped).
|
||||
|
||||
status:recovered:<disk_name>:<file_path>
|
||||
The file was recovered by a `fix` command.
|
||||
|
||||
status:recoverable:<disk_name>:<file_path>
|
||||
The file is recoverable, and will be recovered by a `fix`
|
||||
command.
|
||||
|
||||
|
||||
18 ERROR TAGS
|
||||
=============
|
||||
|
||||
These tags report specific errors that occur on data disks during the
|
||||
|
|
@ -1217,7 +1238,7 @@ commands that access files and parities.
|
|||
<file> - The path (relative to the disk mount point) of the
|
||||
file containing the block (escaped).
|
||||
<msg> - A descriptive message indicating the nature of the
|
||||
error (e.g., `Open/Read/Write EIO error`, `Open/Read/Write error`,
|
||||
error (e.g., `Open/Read/Write error`,
|
||||
`Data error at position <pos>, diff bits <diff>/<bits>`).
|
||||
|
||||
parity_error[_io|_data]:<block>:<level>:<msg>
|
||||
|
|
@ -1233,10 +1254,10 @@ commands that access files and parities.
|
|||
<level> - The configuration name of the parity level (e.g.,
|
||||
`parity`, `2-parity`).
|
||||
<msg> - A descriptive message indicating the nature of the
|
||||
error (e.g., `Read/Write EIO error`, `Read/Write error`,
|
||||
error (e.g., `Read/Write error`,
|
||||
`Data error, diff bits <diff>/<bits>`).
|
||||
|
||||
hardlink_error:<disk_name>:<link_path>:<target_path>:<msg>
|
||||
hardlink_error[_io]:<disk_name>:<link_path>:<target_path>:<msg>
|
||||
Indicates an error when attempting to access a hard link.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
|
|
@ -1248,7 +1269,7 @@ commands that access files and parities.
|
|||
`Hardlink-to error for not regular file`,
|
||||
`Hardlink mismatch for different inode`).
|
||||
|
||||
symlink_error:<disk_name>:<link_path>:<msg>
|
||||
symlink_error[_io]:<disk_name>:<link_path>:<msg>
|
||||
Indicates an error when attempting to access a symbolic link.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
|
|
@ -1257,7 +1278,7 @@ commands that access files and parities.
|
|||
error (e.g., `Symlink read error`,
|
||||
`Symlink data error '<actual>' instead of '<expected>'`).
|
||||
|
||||
dir_error:<disk_name>:<dir_path>:<msg>
|
||||
dir_error[_io]:<disk_name>:<dir_path>:<msg>
|
||||
Indicates an error when attempting to access a directory.
|
||||
|
||||
<disk_name> - The name of the disk.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue