I tried setup the Syncthing instance with folder backed on deduplicated volume, created by opendedup.org software.
After setup and beggining syncing I experienced a lot of errors with temp files similiar to: INFO: Puller (folder "foldername" (foldernam), item "folder/filename.bak"): syncing: opening temp file: open /mnt/xxx/xxx/xxx/xxx/xxx/xxx/.syncthing.filename.bak.tmp: file exists INFO: Folder "foldername" (foldername) isn't making sync progress - retrying in XmYs.
Indeed, as error message claims, the temp files actually exists.
Some files however have synced properly (about 70 from total 900).
Could you please shed some ligth, is the problem related with folder stored on deduplicated volume?
The FS behaves pretty normal, you can do any normal file operation. Could you explain what exactly the âfile existsâ error means? Is this means the app doesnât see the file in the folder then tries to create it as a new file? Can any folder / files permission issue be the reason?
Thatâs probably us opening with O_CREATE | O_EXCL because weâre sure it doesnât exist already and shouldnât exist. But apparently it does. Which is odd. So yeah I donât know, maybe the file system is just slow to react and shows files that have been deleted or doesnât show files that were just created. In any case I think it boils down to âodd file system emulating thing doing it wrongâ, unless you can reproduce on a normal file system.
You are right. It is odd FS behavior which you would not observe with manual CRUD file operations. I set the whole system up two times fron clean OS and for each time it didnât work, with different error count of mentioned type. On the same machine (VM with Ubuntu 20.04), outside the deduplicated volume everything works fine, as expected. The whole instalation was done just for the prove of concept with high optimized storage in case of highly duplicated data (mix of Syncthing and Borg features :). This time it doesnât work but I will try to achieve similiar feature maybe with other volume tools.
Thanx for your help.