I did the ls
thing, and three deletion and addition events have taken
place in the last 12 hours. I will report here on the first case. There is
one Android device (A), a rooted Nexus 7 with stock Android 4.4.1, and two
computers (C1 to C2), but only C2 is directly in sync with the Android (C1
is synced with C2) [for my own records, C1 is burro, C2 coleonyx]
- File Patterns of somatic mutation in human cancer genomes/greenman-patterns-mutations-annotated.pdf, deleted at 00:21:55 (note that the deletion time is the deletion time registered by seafile, which is connected to C2; thus, this is a deletion time that has to be at least no earlier than when the deletion happens in C2).
1.1. A,
1.1.1. ls at 00:18:05 shows, for that file (and its including directory)
./Mendeley-pdfs-ds/Patterns of somatic mutation in human cancer genomes:
-rw-rw---- u0_a200 sdcard_r 298003 2015-04-05 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw---- u0_a200 sdcard_r 2695334 2015-04-05 00:29 greenman-patterns-mutations-s1.pdf
-rw-rw---- u0_a200 sdcard_r 287521 2015-04-05 00:29 greenman-patterns-mutations.pdf
1.1.2. ls at 00:21:55
./Mendeley-pdfs-ds/Patterns of somatic mutation in human cancer genomes:
-rw-rw---- u0_a200 sdcard_r 298003 2015-04-05 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw---- u0_a200 sdcard_r 2695334 2015-04-05 00:29 greenman-patterns-mutations-s1.pdf
-rw-rw---- u0_a200 sdcard_r 287521 2015-04-05 00:29 greenman-patterns-mutations.pdf
1.1.3. ls at 00:29:43
./Mendeley-pdfs-ds/Patterns of somatic mutation in human cancer genomes:
-rw-rw---- u0_a200 sdcard_r 298003 2015-04-05 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw---- u0_a200 sdcard_r 2695334 2015-04-05 00:29 greenman-patterns-mutations-s1.pdf
-rw-rw---- u0_a200 sdcard_r 287521 2015-04-05 00:29 greenman-patterns-mutations.pdf
1.2. C1,
1.2.1. ls at 00:21:24:
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3540
drwxrwxrwx 2 ramon ramon 149 Apr 7 12:33 .
drwx------ 3479 ramon ramon 290816 Apr 10 23:27 ..
-rw-rw-rw- 1 ramon ramon 298003 Apr 5 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw-rw- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-rw-rw- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
1.2.2. ls at 00:21:54: Note the file is gone (so it must have been deleted from C2 shortly before)
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3248
drwxrwxrwx 2 ramon ramon 97 Apr 11 00:21 .
drwx------ 3479 ramon ramon 290816 Apr 10 23:27 ..
-rw-rw-rw- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-rw-rw- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
1.2.3 ls at 00:22:25:
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3248
drwxrwxrwx 2 ramon ramon 97 Apr 11 00:21 .
drwx------ 3479 ramon ramon 290816 Apr 10 23:27 ..
-rw-rw-rw- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw--w-rw- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
1.3. C2: (this is the computer directly connected to the Android)
1.3.1. ls at 00:21:30:
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3608
drwxr-xr-x 2 ramon ramon 4096 Dec 5 2012 .
drwxr-xr-x 3479 ramon ramon 401408 Apr 10 23:26 ..
-rw-r--r-- 1 ramon ramon 298003 Apr 5 00:29 greenman-patterns-mutations-annotated.pdf
-rw-r--r-- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-r--r-- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
1.3.2. ls at 00:22:00: file is gone
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3316
drwxr-xr-x 2 ramon ramon 4096 Apr 11 00:21 .
drwxr-xr-x 3479 ramon ramon 401408 Apr 10 23:26 ..
-rw-r--r-- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-r--r-- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
2.That file is added back at 00:31:06
2.1. A:
2.1.1. ls at 00:30:45
./Mendeley-pdfs-ds/Patterns of somatic mutation in human cancer genomes:
-rw-rw---- u0_a200 sdcard_r 298003 2015-04-05 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw---- u0_a200 sdcard_r 2695334 2015-04-05 00:29 greenman-patterns-mutations-s1.pdf
-rw-rw---- u0_a200 sdcard_r 287521 2015-04-05 00:29 greenman-patterns-mutations.pdf
2.1.2 ls at 00:31:31
./Mendeley-pdfs-ds/Patterns of somatic mutation in human cancer genomes:
-rw-rw---- u0_a200 sdcard_r 298003 2015-04-05 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw---- u0_a200 sdcard_r 2695334 2015-04-05 00:29 greenman-patterns-mutations-s1.pdf
-rw-rw---- u0_a200 sdcard_r 287521 2015-04-05 00:29 greenman-patterns-mutations.pdf
2.2. C1: (again, anything added here must be added through C2, below, as C1 is not connected to the android)
2.2.1 ls at 00:31:02 file still not here
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3248
drwxrwxrwx 2 ramon ramon 97 Apr 11 00:21 .
drwx------ 3479 ramon ramon 290816 Apr 10 23:27 ..
-rw-rw-rw- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-rw-rw- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
2.2.2 ls at 00:31:32 file is back
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3540
drwxrwxrwx 2 ramon ramon 149 Apr 11 00:31 .
drwx------ 3479 ramon ramon 290816 Apr 10 23:27 ..
-rw-rw-rw- 1 ramon ramon 298003 Apr 5 00:29 greenman-patterns-mutations-annotated.pdf
-rw-rw-rw- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-rw-rw- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
2.3 C2:
2.3.1 ls at 00:30:33: file still not here
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3316
drwxr-xr-x 2 ramon ramon 4096 Apr 11 00:21 .
drwxr-xr-x 3479 ramon ramon 401408 Apr 10 23:26 ..
-rw-r--r-- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-r--r-- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
2.3.2 ls at 00:31:34 the file is back
./Mendeley-pdfs/Patterns of somatic mutation in human cancer genomes:
total 3608
drwxr-xr-x 2 ramon ramon 4096 Apr 11 00:31 .
drwxr-xr-x 3479 ramon ramon 401408 Apr 10 23:26 ..
-rw-r--r-- 1 ramon ramon 298003 Apr 5 00:29 greenman-patterns-mutations-annotated.pdf
-rw-r--r-- 1 ramon ramon 287521 Apr 5 00:29 greenman-patterns-mutations.pdf
-rw-r--r-- 1 ramon ramon 2695334 Apr 5 00:29 greenman-patterns-mutations-s1.pdf
Another two cases have happened this night. In both of them, the file, as
reported by ls
in the Android device, is always there (it is
there in the ls
immediately before the removal and in the ls
immediately after the removal).
A few other comments of possibly related things:
-
Reconnection events of the android device (as shown by Established secure connection to
in the ST logs) seem to happen shortly before an
addition event (3 cases) and a deletion event (2 cases).
-
I think some of this is also related to the INFO: Puller (folder "whatever", dir "blablabla"): delete: remove /whatever/blablabla: directory not empty
issue referred to before.
Strange INFO: Puller (folder “xyz”, dir “uwv”): delete: remove : directory not empty
I just think a complete deletion is never triggered because the
directory, as it says, is not empty.
-
I am also experiencing, from time to time, the "interrupted system call"
issue in the Androids
( https://github.com/syncthing/syncthing-android/issues/85 ) where I will
be told by the ST web gui (or the ST android gui) that the directory
just does not exist (when in fact it does).
Now, is there a way to disable inotify on the Android? I suspect if I
could trigger a sync only at will I could avoid some of this. This might
be specific to my use case, but since little file modification happens on
the Androids (I read, and from time to time annotate, PDFs) I’d be happy
to have the Androids only send back when I say so via a “Rescan” (after
I’ve modified something), but have ST running all the time anyway, to
passively receive things that are modify in other nodes.