Im have setup rclone on debian with my gdrive, its working but i just want to see if i can do it different, im kind of new into linux so im on learning base.
and then i mount it with
rclone mount --allow-non-empty --allow-other --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" --cache-db-purge media: /home/znoopy/gdrive/ &
ok i know this isnt the best but it work for a start, so my question is how do i make it better and more smooth ?
That probably causes you problems too as it allows for multiple processes to be running and hide things by over mounting. I'd definitely remove that.
I'd probably remove the cache and just use the defaults minus adding in --allow-other and perhaps --dir-cache-time to a large value (100 hours or something).
Make sure you've created your own API key as well.
Have you changed the chunk-size during testing? These errors can indicate that you have old chunks of a different size still present and you did not delete your cache after changing size. If you need to do that you have to purge the old files to not confuse the cache and get these sorts of unexpected end-of-file errors.
The easiest way to do this is just to stop any rclone mounts, then delete the chunk folder. It will rebuild from scratch the next time you use your mount.