summaryrefslogtreecommitdiff
path: root/doc/walkthrough/removing_files:_When_things_go_wrong.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-27 12:45:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-27 12:45:48 -0400
commit98e246b49b3c4fed319fe7bc1e900ba20ebfc9e1 (patch)
treead49ec6baf1b57f3acc8b694bdfc1bbd0986021f /doc/walkthrough/removing_files:_When_things_go_wrong.mdwn
parent9e49a71282def0b6d6f7507d59eb0f805c6e0073 (diff)
split the walkthrough and inline back together
Diffstat (limited to 'doc/walkthrough/removing_files:_When_things_go_wrong.mdwn')
-rw-r--r--doc/walkthrough/removing_files:_When_things_go_wrong.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/walkthrough/removing_files:_When_things_go_wrong.mdwn b/doc/walkthrough/removing_files:_When_things_go_wrong.mdwn
new file mode 100644
index 000000000..2d3c0cde0
--- /dev/null
+++ b/doc/walkthrough/removing_files:_When_things_go_wrong.mdwn
@@ -0,0 +1,24 @@
+Before dropping a file, git-annex wants to be able to look at other
+remotes, and verify that they still have a file. After all, it could
+have been dropped from them too. If the remotes are not mounted/available,
+you'll see something like this.
+
+ # git annex drop important_file other.iso
+ drop important_file (unsafe)
+ Could only verify the existence of 0 out of 1 necessary copies
+ Unable to access these remotes: usbdrive
+ Try making some of these repositories available:
+ 58d84e8a-d9ae-11df-a1aa-ab9aa8c00826 -- portable USB drive
+ ca20064c-dbb5-11df-b2fe-002170d25c55 -- backup SATA drive
+ (Use --force to override this check, or adjust annex.numcopies.)
+ failed
+ drop other.iso (unsafe)
+ Could only verify the existence of 0 out of 1 necessary copies
+ No other repository is known to contain the file.
+ (Use --force to override this check, or adjust annex.numcopies.)
+ failed
+
+Here you might --force it to drop `important_file` if you [[trust]] your backup.
+But `other.iso` looks to have never been copied to anywhere else, so if
+it's something you want to hold onto, you'd need to transfer it to
+some other repository before dropping it.