git-annex/doc/bugs/rsync_remote_with_-J2_fails.mdwn

57 lines
2.7 KiB
Markdown

### Please describe the problem.
Trying to `git annex copy` to an rsync special remote with the -J flag fails with a lot of errors. (And is slow without it).
### What steps will reproduce the problem?
$ git annex copy --to rsync-remote -J2
### What version of git-annex are you using? On what operating system?
5.20150710-g8fd7052 on Ubuntu.
### Please provide any additional information below.
[[!format sh """
$ git annex copy --to freenas-rsync -J2
E: file has vanished: "/media/depot/annex/.git/annex/tmp/rsynctmp/29637/caa/2d1/SHA256E-s4244--4ec1ea09c7605a589a9bf6cd927e96737c512d17d8053cbfaf0dcd364702400c.txt/SHA256E-s4244--4ec1ea09c7605a589a9bf6cd927e96737c512d17d8053cbfaf0dcd364702400c.txt"
E: rsync warning: some files vanished before they could be transferred (code 24) at main.c(1183) [sender=3.1.1]
E: rsync: change_dir "/media/depot/annex//.git/annex/tmp/rsynctmp/29637" failed: No such file or directory (2)
E: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
.git/annex/tmp/rsynctmp/29637/c17: removeDirectory: does not exist (No such file or directory)
.git/annex/tmp/rsynctmp/29637: getDirectoryContents: does not exist (No such file or directory)
.git/annex/tmp/rsynctmp/29637/67e: removeLink: does not exist (No such file or directory)
.git/annex/tmp/rsynctmp/29637: getDirectoryContents: does not exist (No such file or directory)
.git/annex/tmp/rsynctmp/29637: getDirectoryContents: does not exist (No such file or directory)
.git/annex/tmp/rsynctmp/29637/49e/833: removeLink: inappropriate type (Is a directory)
^C
J1 hangs a long time:
$ git annex copy --to freenas-rsync -J1
^C
Works without J flag:
$ git annex copy --to freenas-rsync
copy GarageBand/._.DS_Store (checking freenas-rsync...) ok
copy GarageBand/._My Song.band (checking freenas-rsync...) ok
copy GarageBand/._code monkey.band (checking freenas-rsync...) ok
copy GarageBand/._first of may.band (checking freenas-rsync...) ok
Version:
$ git annex version
git-annex version: 5.20150710-g8fd7052
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E MD5E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 MD5 WORM URL
remote types: git gcrypt S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4
Repo config:
[remote "freenas-rsync"]
annex-rsyncurl = freenas:/mnt/tank/home/jnewsome/annex-rsync-backend
annex-uuid = f05581cc-7236-41ed-9db8-49424f863307
"""]]
> [[fixed|done]] --[[Joey]]