I have 2 servers, the two are Debian 10. The second i installed yesterday is with installed with snapraid.
I synced the content of the first server to the second. Everything went well. Snapraid told me about zero sub-second timestamp (https://www.snapraid.it/faq#subsecond) and touched some files.
After that a lot file were synced, despite they have the same md5 and the creation-time are the same. Souldn’t only the metadata be synced?
Does Syncthing actually transfer file data? The “syncing” status can also mean, that Syncthing doesn’t know if they are identical (as it is the first sync) and is only comparing the hashes. Depending on file amount and size, this can take a while, especially if you shared the folder before the initial scan completed.
Essentially, syncthing syncs more than just content, it also syncs metadata, which is mtime, permissions etc. So even if the content is the same, it can sync the file if the metadata is different.
If you have file versioning enabled, syncthing create a lot of files, which are identical to the previous version. It takes a lot of space and a lot of time to delete the unneeded files
i think it does, i have a lot of files in my .stversions folder which are identical (md5sum, creation time)
i don’t if my first post was good enought to explain my issue
it has the same hash
md5sum “./.stversions/MB WIS ASRA 11 2018-4DDL/MB WIS ASRA 11 2018-4DDL.part08~20191020-162127.rar”
067ad6ed2ba4722f834f562870dddf0d ./.stversions/MB WIS ASRA 11 2018-4DDL/MB WIS ASRA 11 2018-4DDL.part08~20191020-162127.rar
md5sum “./MB WIS ASRA 11 2018-4DDL/MB WIS ASRA 11 2018-4DDL.part08.rar”
067ad6ed2ba4722f834f562870dddf0d ./MB WIS ASRA 11 2018-4DDL/MB WIS ASRA 11 2018-4DDL.part08.rar
The only difference is the modification time:
File: ./.stversions/MB WIS ASRA 11 2018-4DDL/MB WIS ASRA 11 2018-4DDL.part08~20191020-162127.rar
Modify: 2019-03-05 18:35:40.000000000
File: ./MB WIS ASRA 11 2018-4DDL/MB WIS ASRA 11 2018-4DDL.part08.rar
Modify: 2019-03-05 18:35:40.528936260
This change was caused by a touch command due to snapraid as i described
I tested on 2 debian machines with newest syncthing installed and you were right. The touch command doesn’t make synchting have files in the .stversions folder.
The only which changes is that i’m running a syncthing instance on a synology NAS and the changes came from that instance. Perhaps DSM is doing something wrong, but that’s not your business.