From b2463d18985ef2c0012851a38b7ee59a6743865b Mon Sep 17 00:00:00 2001 From: gilbertchen Date: Wed, 21 Dec 2022 15:04:45 -0500 Subject: [PATCH] Updated check (markdown) --- check.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check.md b/check.md index e9537de..eda3006 100644 --- a/check.md +++ b/check.md @@ -12,6 +12,7 @@ OPTIONS: -t check snapshots with the specified tag -fossils search fossils if a chunk can't be found -resurrect turn referenced fossils back into chunks + -rewrite rewrite chunks with recoverable corruption -files verify the integrity of every file -chunks verify the integrity of every chunk -stats show deduplication statistics (imply -all and all revisions) @@ -35,6 +36,8 @@ You can also verify the integrity of snapshots with the `-chunks` option. Unlike By default the *check* command does not find fossils. If the `-fossils` option is specified, it will find the fossil if the referenced chunk does not exist. if the `-resurrect` option is specified, it will turn the fossil back into a chunk. +The `-rewrite` option is to re-upload corrupted but recoverable chunks for storages with Erasure Coding enabled. + When the repository can have multiple storages (added by the *add* command), you can specify the storage to check by specifying the storage name. The `-key` and `-key-passphrase` options are needed if the storage is encrypted by an RSA key and if `-chunks` or `-files` are specified.