Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[dbox]
type = dropbox
token = XXX
[obox]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = business
[odrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business
A log from the command that you were trying to run with the -vv flag
2024/05/13 04:13:07 DEBUG : vfs cache: data root is "/home/nirzak/data/plexcache/vfs/obox"
2024/05/13 04:13:07 DEBUG : vfs cache: metadata root is "/home/nirzak/data/plexcache/vfsMeta/obox"
2024/05/13 04:13:07 DEBUG : Creating backend with remote "/home/nirzak/data/plexcache/vfs/obox/"
2024/05/13 04:13:07 DEBUG : fs cache: renaming cache item "/home/nirzak/data/plexcache/vfs/obox/" to be canonical "/home/nirzak/data/plexcache/vfs/obox"
2024/05/13 04:13:07 DEBUG : Creating backend with remote "/home/nirzak/data/plexcache/vfsMeta/obox/"
2024/05/13 04:13:07 DEBUG : fs cache: renaming cache item "/home/nirzak/data/plexcache/vfsMeta/obox/" to be canonical "/home/nirzak/data/plexcache/vfsMeta/obox"
2024/05/13 04:13:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
Some more info. I want to try to use disk as my vfs cache directory and my ram to store my read chunk caches. That's why I have used both cache-dir and cache-chunk-path. but on /dev/shm I can see that no data is storing over there. looks like it is only using the cache-dir parameter not the cache-chunk-path parameter. Thanks
Any —cache-…flags belong to cache remote. You are not using it - and you should not as it is deprecated ages ago. You can safely delete all these flags as they are ignored anyway with your configuration
Hi yes. @kapitainsky was right. I am trying to use both. I am trying to store my vfs caches to --cache-dir and trying to store my buffer and read/chunk caches to --cache-chunk-path. But is there any limitation? Can't I use both? I have read the documentation of rclone. But I am still a little bit confused if I can use both or not. Thanks a lot for your time guys.
Oh ok I got it. That means I can use only one of them at a time. Basically I want to use to RAM for temporary caches or ongoing read buffers instead of my disk. How can I do this in case of VFS cache? I have 18GB RAM in PC. So I want to use it for VFS cache. Thanks.
Linux will use all available RAM anyway. 18GB is not a lot but for sure some part will be used for fuse caching. I do not think there is any benefit in tweaking anything unless you have very special and demanding workflow.
Yeah this is not much but I have a lot of memory free for now. almost 80% of it. And I have noticed it didn't use that much memory even if I use --buffer-size 2G or so.
The problem is I was trying to scan my music library from onedrive to my plex and have noticed that it's taking too much disk IO. I think that might be because it's using the disk as a cache that's why. So, trying to store some portion of it in the memory. That's why I was using /dev/shm partition since it's the RAM's partition. Any solution if we can do that using rclone? like storing the temporary read buffers or the cache to the memory or so? thanks