samba and rsync

EsTaF

Contributor
Joined
Sep 20, 2013
Messages
163
This is a very strange problem.
I decided to recreate the dataset by making it encrypted.
I saved all the data to an external drive. I deleted the old dataset and created a new one.
Using rsync I copied all files via samba to the old location.

rsync -vrht --delete-before --progress --stats /Users/iron/Desktop/ /Volumes/media/

Decided to double-check with rsync to make sure everything was in place.
Rsync started overwriting all the files again, thinking they were different.
I have done this before, with the same command (old dataset), but no such issues.

samba settings, directory permissions - everything is the same as before.
I checked the copied files. They open fine. But for some reason, any program that knows how to synchronize these things thinks the files are different.
I checked file sizes - even in bytes they are the same.

Then I tried syncing with freefilesync (windows)
The problem is the same. The program thinks that all the files are different.

/Volumes/media/ - samba share
/Users/iron/Desktop - local resource

md5 /Volumes/media/images/001/castel/castel-1024.jpg
MD5 (/Volumes/media/images/001/castel/castel-1024.jpg) = 5b6640fa47cbaa7f50344391baa03867


md5 /Users/iron/Desktop/images/001/castel/castel-1024.jpg
MD5 (/Users/iron/Desktop/images/001/castel/castel-1024.jpg) = 5b6640fa47cbaa7f50344391baa03867

If you invert the comparison - swap the source and receiver, you see the same story, that like everything needs to be overwritten.

who has gone crazy?
 

Attachments

  • Снимок экрана 2022-09-08 в 12.01.27.png
    Снимок экрана 2022-09-08 в 12.01.27.png
    358 KB · Views: 104
Last edited:

EsTaF

Contributor
Joined
Sep 20, 2013
Messages
163
I have already tried all these manipulations from other computers - the same story.
 
Top