Environment:
- git-annex running in WSL (ext4)
- Special remote on NTFS filesystem
Issue:
Files in special remote with exporttree/importtree enabled fail to download during fsck operations. The issue affects only some files, with no clear pattern between affected and unaffected files (occurs with both binary and text files). Steps to reproduce:
- Set up git-annex repository in WSL (ext4)
- Configure special remote on NTFS with exporttree/importtree
- Run git annex fsck on files
- Some files fail with download error
Verification:
Direct comparison shows files are identical:
diff ~/mydir/work/info/templates/form.svg .git/annex/objects/qg/Vk/SHA256E-s2258--0faa4a5b2bbb98665d79741ce8e88aa0fe9fb526ba9990bc51b830e1d767c3fe.svg/SHA256E-s2258--0faa4a5b2bbb98665d79741ce8e88aa0fe9fb526ba9990bc51b830e1d767c3fe.svg
(outputs nothing, files are identical)
Current behavior:
git annex fsck info/templates/form.svg -f specrepo
failed to download file from remote
failed
(recording state in git...)
fsck: 1 failed
git annex get info/templates/form.svg -f specrepo
get info/templates/form.svg (from specrepo...)
file content has changed
failed
get: 1 failed
Expected behavior:
FSck should complete verification successfully. All files should download and verify correctly
Additional notes:
- Issue appears to be related to filesystem differences (NTFS vs ext4)
- Problem affects only some files, while others work correctly
- No clear pattern between affected and unaffected files (occurs with both binary and text files)
- Standard remediation steps (fsck, fix, reinject) do not resolve the issue
git annex version info
git-annex version: 10.20220121-gdf6a8476e
build flags: Assistant Webapp Pairing Inotify DBus DesktopNotify TorrentParser MagicMime Feeds Testsuite S3 WebDAV
dependency versions: aws-0.22 bloomfilter-2.0.1.0 cryptonite-0.26 DAV-1.3.4 feed-1.3.0.1 ghc-8.8.4 http-client-0.6.4.1 persistent-sqlite-2.10.6.2 torrent-10000.1.1 uuid-1.3.13 yesod-1.6.1.0
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL X*
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs httpalso borg hook external
operating system: linux x86_64
supported repository versions: 8 9 10
upgrade supported from repository versions: 0 1 2 3 4 5 6 7 8 9 10
local repository version: 10