How to automatically synchronize files?

I have a 2TB Yandex drive. I mounted it to my ubuntu server with the command:
rclone mount yadisk: /reserve /var/www/website/public/test/reserve --umask 0000 --allow-non-empty --allow-other --dir-cache-time 12h --buffer-size 64M --vfs-cache-mode full --vfs- read-chunk-size 40M --vfs-read-chunk-size-limit 512M --uid 1000 --vfs-cache-max-age 24h --vfs-cache-max-size 4G --log-level INFO --log-file /home/ubuntu/yadisk. log --poll-interval 15s --daemon

If I upload files to my server, they show up in Yandex Disk immediately. But if I upload files to Yandex Disk then there is no file on the server. Not in an hour or in 2 hours.

If I delete a folder or file via Yandex Disk, the file is available via the server. If you run the rsync command, an error will come up

2022/05/12 15:06:33 ERROR : bot2.png: Couldn't delete: remove /var/www/website/public/test/reserve/bot2.png: input/output error
2022/05/12 15:06:33 ERROR : Local file system at /var/www/website/public/test/reserve: not deleting directories as there were IO errors
2022/05/12 15:06:33 ERROR : Attempt 1/3 failed with 3 errors and: failed to delete 1 files
2022/05/12 15:06:34 ERROR : bot2.png: Couldn't delete: remove /var/www/website/public/test/reserve/bot2.png: input/output error
2022/05/12 15:06:34 ERROR : Local file system at /var/www/website/public/test/reserve: not deleting directories as there were IO errors
2022/05/12 15:06:34 ERROR : Attempt 2/3 failed with 3 errors and: failed to delete 1 files
2022/05/12 15:06:36 ERROR : bot2.png: Couldn't delete: remove /var/www/website/public/test/reserve/bot2.png: input/output error
2022/05/12 15:06:36 ERROR : Local file system at /var/www/website/public/test/reserve: not deleting directories as there were IO errors
2022/05/12 15:06:36 ERROR : Attempt 3/3 failed with 3 errors and: failed to delete 1 files
2022/05/12 15:06:36 Failed to sync with 3 errors: last error was: failed to delete 1 files

rclone v1.58.1

P.S. Exactly the same problem with Mail.ru Cloud

hello and welcome to the forum,

--poll-interval 15s,
as far as i know, yandex is not polling remote, so that would not do anything
using -log-level DEBUG, the log would provide the answer

assuming that yandex is not a polling remote, then

well, you have told rclone to update the vfs dir cache once per 12 hours

and this looks like a type
--vfs- read-chunk-size 40M

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.