aboutsummaryrefslogtreecommitdiff
path: root/doc/walkthrough
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg <Bence@web>2015-08-01 22:29:25 +0000
committerGravatar admin <admin@branchable.com>2015-08-01 22:29:25 +0000
commitf37922856e7ac2ad535f8da11dc291f485e22b98 (patch)
tree06159e3ecede6e1a735421bd8a9d57cc78ade624 /doc/walkthrough
parentc248a932c61fece3735b84ce108e71f0c4fd813c (diff)
I hope these notes do not make this walkthrough page too big.
Diffstat (limited to 'doc/walkthrough')
-rw-r--r--doc/walkthrough/fsck:_verifying_your_data.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/walkthrough/fsck:_verifying_your_data.mdwn b/doc/walkthrough/fsck:_verifying_your_data.mdwn
index 62e15b6fa..240014610 100644
--- a/doc/walkthrough/fsck:_verifying_your_data.mdwn
+++ b/doc/walkthrough/fsck:_verifying_your_data.mdwn
@@ -14,3 +14,23 @@ you're using sha1 and don't want to spend a long time checksumming everything.
# git annex fsck my_cool_big_file
fsck my_cool_big_file (checksum...) ok
+
+If you have a large repo, you may want to check it in smaller steps. You may
+start and continue an aborted or time-limited check.
+
+ # git annex fsck -S <optional-directory> --time-limit=1m
+ fsck some_file (checksum...) ok
+ fsck my_cool_big_file (checksum...) ok
+
+ Time limit (1m) reached!
+
+ # git annex fsck -m <optional-directory>
+ fsck my_other_big_file (checksum...) ok
+ ...
+
+Use `-S` or `--incremental` to start the incremental check. Use `-m`
+or `--more` to continue the started check and continue where it left
+off. Note that saving the progress of `fsck` is performed after every
+1000 files or 5 minutes or when `--time-limit` occours. There may be
+files that will be checked again when `git-annex` exists abnormally
+eg. Ctrl+C and the check is restarted.