My Ubuntu 22.04 VM (on my synology nas) preserves file timestamps when writing to it's local filesystem, but not when writing to a cifs mount (on the nas). This causes it to re-grab the non-preserved files the next times it runs again.
My laptop pop_os 22.04 will preserve file timestamps on the same cifs mount.
Both are running the same versions of rsync and cifs-tools.
Mounts listed here:
vm:
//192.168.86.37/files on /home/rob/synner type cifs (rw,relatime,vers=3.1.1,cache=strict,username=rob,uid=1000,noforceuid,gid=0,noforcegid,addr=192.168.86.37,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
laptop:
//192.168.86.37/files on /home/rob/synner type cifs (rw,relatime,vers=3.1.1,cache=strict,username=rob,uid=1000,noforceuid,gid=0,noforcegid,addr=192.168.86.37,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5)
mount command used on both:
mount -t cifs -o username=rob,password=<redacted>,uid=1000 //192.168.86.37/files /home/rob/synner
rsync command being used:
/usr/bin/rsync -avz --progress root@kp3:/home/backup/ /home/rob/synner/hosting_backups/kp3/
Edit: with more info..
When the VM looks at remote (kp3), along with new files, it will also re-download files it has already grabbed, but will timestamp everything with the time it's actually grabbing the files, so it will just do it all over again the next day when it runs.
I've also added 'noserverino' to the mount command on the VM to get rid of the 'serverino' portion in it's mount statement with no difference.