aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Corrupted_drive__58___Assistant_seems_consider_files_deleted_and_deletes_them_elsewhere_too.mdwn
blob: 595b86c296b530519626f10bf1053fce9bc82148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
### Please describe the problem.

On my raspberry pi, an SSH remote was in /var/lib/store (symlinked with /home/carlo/store), which contained a LVM volume spanning several USB drives. One of the drives got corrupted, which lead to this:

$ cd /home/carlo/store
$ ls
Input/Output Error

On my desktop machine, I then had a lot of transfers. After transfer, the file was turned into a symlink.

### What steps will reproduce the problem?

* Create an annex and a remote ssh server.
* [Simulate a corrupted drive](http://stackoverflow.com/questions/1361518/how-can-i-simulate-a-failed-disk-during-testing) for the remote, creating an input output error.
* Wait until the annex starts syncing on the desktop machine. If there were no further unidentified causes on my side, the assistant will start transfers that revert files to symlinks.

### What version of git-annex are you using? On what operating system?

Ubuntu 12.04 64bit
git annex 3.20121017 ([from Ubuntu PPA](https://launchpad.net/~rubiojr/+archive/git-annex))

### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log

Please see [all my daemon.log](http://capocasa.name/daemon.tgz) files.

I noticed the problem yesterday afternoon (Thu 24 Oct).

# End of transcript or log.
"""]]

> [[!taglink moreinfo]]; either I don't have enough information to work on this,
> or it might have just been user error. --[[Joey]]