I'm sorry to ask this again, but I'm not being able to find my previous message regarding this issue. I'm finding very hard to find older posts in forums. Is there a way to search for all my posted messages? Anyway, after some automount problems (changed mount point name), my usb repo (direct) ended in a weird state. See for instance the screenshot: http://picpaste.com/git-annex-problem-eZvOl90y.jpg

In addition making a git-annex info gives the following:

  • repository mode: direct
  • trusted repositories: error: refs/heads/master does not point to a valid object!
  • error: refs/heads/synced/git-annex does not point to a valid object!
  • error: refs/heads/synced/master does not point to a valid object!
  • error: refs/remotes/sapo/annex/direct/master does not point to a valid object!
  • error: refs/remotes/sapo/git-annex does not point to a valid object!
  • error: refs/remotes/sapo/master does not point to a valid object!
  • error: refs/synced/1912d5a7-3929-47f0-8e25-a071d7079cc4/git-annex does not point to a valid object!
  • error: refs/synced/1912d5a7-3929-47f0-8e25-a071d7079cc4/master does not point to a valid object!
  • error: refs/heads/master does not point to a valid object!
  • error: refs/heads/synced/git-annex does not point to a valid object!
  • error: refs/heads/synced/master does not point to a valid object!
  • error: refs/remotes/sapo/annex/direct/master does not point to a valid object!
  • error: refs/remotes/sapo/git-annex does not point to a valid object!
  • error: refs/remotes/sapo/master does not point to a valid object!
  • error: refs/synced/1912d5a7-3929-47f0-8e25-a071d7079cc4/git-annex does not point to a valid object!
  • error: refs/synced/1912d5a7-3929-47f0-8e25-a071d7079cc4/master does not point to a valid object!
  • fatal: index file smaller than expected
  • git-annex: failed to read sha from git write-tree

What should I do? delete the usb repo and start again. Thank god this is just a trial.

What happens if a file gets corrupted. Lets say it is corrupted in repo A, and fine in repo B. Will the good copy be overridden?

git-repair takes a long time and seems to be stuck there, or maybe it just takes a long time (10Gb repo). Is this normal? > git-annex repair Running git fsck ... Initialized empty Git repository in /tmp/tmprepo.1/.git/ Trying to recover missing objects from remote sapo. Unpacking all pack files. Unpacking objects: 100% (348848/348848), done.

Thanks in advance.