What makes you think that the error is caused by rclone?
Do you see the same issue if using a minimum of flags/parameters?
(That is try removing --async-read, --attr-timeout, --daemon-timeout, --daemon-wait, --dir-cache-time, --poll-interval, --vfs-cache-max-age, --vfs-cache-poll-interval, --vfs-write-back, --write-back-cache)
What is the redacted output of
rclone config show local:
rclone config show yourMinioRemote:
It seems like this problem is related with kernel , these options are working on x86_64, but not on my firefly-rk3588 (arm64), I'll find out why and post result here
The kernel can cache the info about a file for the time given by --attr-timeout . You may see corruption if the remote file changes length during this window. It will show up as either a truncated file or a file with garbage on the end. With --attr-timeout 1s this is very unlikely but not impossible. The higher you set --attr-timeout the more likely it is. The default setting of "1s" is the lowest setting which mitigates the problems above.
and the error you see:
panic: write header: write /data/prometheus/chunks_head/000001.tmp: bad file descriptor
It turn out to be a false alarm, these options work well on ARM64 too.
I think that error is caused by my csi-s3-driver, when driver pod got recreated, rclone mount process terminated, so prometheus can't write data into it.