My rclone mount keeps creating a .cache directory in the root of my FreeNAS filesystem, where I definitely don’t want it. It creates the following structure: /.cache/rclone/cache-backend/jc-cache
The mount is a union remote which consists of two remotes that are cached & crypted (in that order).
Both those remotes have the db_path set to a different path on my harddrives but rclone seems to ignore that or maybe that flag is for something else?
My mount command is: rclone mount “union:” “/mnt/HDD/Storage/Files” --allow-non-empty --allow-other --cache-db-path /mnt/SSD/rclone/db/union_host --cache-dir /mnt/SDD/rclone/db/union_host/.cache --daemon --dir-cache-time 30s --dir-perms 0775 --fast-list --file-perms 0775 --gid 1010 --log-level INFO --log-file log/union_host_mount.log --uid 1010 --umask=0
It doesn’t seem to use that --cache-dir either or that is also used for something else.
It IS a union mount. But the remotes it’s using ARE cached.
Removed allow-non-empty and --fast-list so thanks for that!
Will check the debug and post back!
Interesting thing in the debug log:
2019/04/11 15:21:10 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/union_host/jc-cache.db
2019/04/11 15:21:10 INFO : jc-cache: Cache chunk path: /root/.cache/rclone/cache-backend/jc-cache
When db_path is set, isn’t the chunk path supposed to be automatically set IN the db_path? My chunk path isn’t set to anything in my conf.
Noticed another thing. I have the mount run at startup post-init and when it runs, the debug log says:
INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/union_host/jc-cache.db
INFO : jc-cache: Cache chunk path: **/.cache/**rclone/cache-backend/jc-cache
But when I run the mount script manually, it says:
INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/union_host/jc-cache.db
INFO : jc-cache: Cache chunk path: **/root/.cache/**rclone/cache-backend/jc-cache
Without seeing your systemd script, and the actual mount commands you are running, it’s just guessing to why those settings are popping up the way they are.
Share your commands/scripts and what version of rclone are you using?
But the manual clearly states that if you specify a custom location for “–cache-db-path”, which I did, and don’t specify one for “–cache-chunk-path” then “–cache-chunk-path” will use the same path as “–cache-db-path”, which it doesn’t.
I’m using rclone 1.46 and the shell script is really basic:
#!/bin/sh
You have some really bad parameters in there so with very odd settings.
1 hour of info_age means that the cache chunk files only work for an hour making them semi useless.
dir-cache-time of 30 seconds is odd as that neglects the whole point of it as it’s too small and it is going to be slow since it has to hit the API for everything basically.
What happens if you don’t use any scripts and just run the mount with -vv and share that log?
Running the mount command manually:
2019/04/12 12:45:45 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:45:45 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
So it works as expected! Any idea why it wouldn’t when run from a script? Not really an option to mount it manually every time I reboot the machine.
Debug:
2019/04/12 12:58:46 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount.log” “–uid” “1010” “–umask=0”]
2019/04/12 12:58:46 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 12:58:47 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:47 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:47 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:47 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:47 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:47 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:47 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:47 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:47 INFO : chc-cache: Workers: 6
2019/04/12 12:58:47 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:47 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:47 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:47 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:48 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:48 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:48 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:48 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:48 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:48 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:48 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:48 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:48 INFO : chc-cache: Workers: 6
2019/04/12 12:58:48 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:48 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:48 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:48 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:48 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:48 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:48 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:48 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:48 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:48 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:48 INFO : jc-cache: Workers: 6
2019/04/12 12:58:48 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:48 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:49 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:49 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:49 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:49 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:49 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:49 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:49 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:49 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:49 INFO : jc-cache: Workers: 6
2019/04/12 12:58:49 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:49 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:49 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:49 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:49 DEBUG : rclone: Version “v1.46” finishing with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount.log” “–uid” “1010” “–umask=0”]
2019/04/12 12:58:49 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 12:58:49 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 12:58:49 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 12:58:49 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 12:58:49 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount.log” “–uid” “1010” “–umask=0”]
2019/04/12 12:58:49 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 12:58:50 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:50 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:50 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:50 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:50 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:50 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:50 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:50 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:50 INFO : chc-cache: Workers: 6
2019/04/12 12:58:50 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:50 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:50 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:50 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:51 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:51 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:51 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:51 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:51 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:51 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:51 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:51 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:51 INFO : chc-cache: Workers: 6
2019/04/12 12:58:51 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:51 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:51 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:51 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:51 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:51 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:51 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:51 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:51 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:51 INFO : jc-cache: Workers: 6
2019/04/12 12:58:51 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:52 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:52 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:52 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:52 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:52 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:52 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:52 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:52 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:52 INFO : jc-cache: Workers: 6
2019/04/12 12:58:52 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:52 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:52 DEBUG : union root ‘’: Mounting on “/mnt/HDD/Storage/Files”
2019/04/12 12:58:52 INFO : union root ‘’: poll-interval is not supported by this remote
2019/04/12 12:58:52 DEBUG : Adding path “vfs/forget” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “vfs/refresh” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “vfs/poll-interval” to remote control registry
2019/04/12 12:58:52 DEBUG : : Root:
2019/04/12 12:58:52 DEBUG : : >Root: node=/, err=
Debug from running the script manually:
2019/04/12 13:01:49 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.01.49.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:01:49 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:01:50 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:50 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:50 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:50 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:50 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:50 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:50 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:50 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:50 INFO : chc-cache: Workers: 6
2019/04/12 13:01:50 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:50 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:50 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:50 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:50 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:50 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:50 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:50 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:50 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:50 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:50 INFO : chc-cache: Workers: 6
2019/04/12 13:01:50 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:50 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:51 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:51 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:51 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:51 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:51 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:51 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:51 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:51 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:51 INFO : jc-cache: Workers: 6
2019/04/12 13:01:51 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:51 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:51 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:51 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:51 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:51 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:51 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:51 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:51 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:51 INFO : jc-cache: Workers: 6
2019/04/12 13:01:51 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:51 DEBUG : rclone: Version “v1.46” finishing with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.01.49.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:01:51 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:01:51 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:01:51 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:01:51 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:01:51 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.01.49.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:01:51 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:01:52 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:52 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:52 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:52 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:52 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:52 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:52 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:52 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:52 INFO : chc-cache: Workers: 6
2019/04/12 13:01:52 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:52 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:52 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:52 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:53 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:53 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:53 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:53 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:53 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:53 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:53 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:53 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:53 INFO : chc-cache: Workers: 6
2019/04/12 13:01:53 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:53 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:53 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:53 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:53 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:53 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:53 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:53 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:53 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:53 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:53 INFO : jc-cache: Workers: 6
2019/04/12 13:01:53 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:53 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:54 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:54 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:54 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:54 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:54 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:54 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:54 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:54 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:54 INFO : jc-cache: Workers: 6
2019/04/12 13:01:54 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:54 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:54 DEBUG : union root ‘’: Mounting on “/mnt/HDD/Storage/Files”
2019/04/12 13:01:54 INFO : union root ‘’: poll-interval is not supported by this remote
2019/04/12 13:01:54 DEBUG : Adding path “vfs/forget” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “vfs/refresh” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “vfs/poll-interval” to remote control registry
2019/04/12 13:01:54 DEBUG : : Root:
2019/04/12 13:01:54 DEBUG : : >Root: node=/, err=
Debug log from when the script runs on boot:
2019/04/12 13:08:23 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.08.23.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:08:23 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:08:28 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:28 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:28 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:28 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:28 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:28 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:28 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:28 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:28 INFO : chc-cache: Workers: 6
2019/04/12 13:08:28 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:28 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:28 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:28 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:29 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:29 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:29 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:29 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:29 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:29 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:29 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:29 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:29 INFO : chc-cache: Workers: 6
2019/04/12 13:08:29 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:29 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:29 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:29 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:29 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:29 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:29 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:29 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:29 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:29 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:29 INFO : jc-cache: Workers: 6
2019/04/12 13:08:29 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:29 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:30 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:30 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:30 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:30 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:30 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:30 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:30 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:30 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:30 INFO : jc-cache: Workers: 6
2019/04/12 13:08:30 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:30 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:30 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:30 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:30 DEBUG : rclone: Version “v1.46” finishing with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.08.23.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:08:30 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:08:30 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:08:30 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:08:30 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:08:30 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.08.23.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:08:30 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:08:31 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:31 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:31 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:31 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:31 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:31 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:31 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:31 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:31 INFO : chc-cache: Workers: 6
2019/04/12 13:08:31 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:31 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:31 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:31 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:32 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:32 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:32 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:32 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:32 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:32 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:32 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:32 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:32 INFO : chc-cache: Workers: 6
2019/04/12 13:08:32 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:32 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:32 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:32 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:32 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:32 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:32 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:32 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:32 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:32 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:32 INFO : jc-cache: Workers: 6
2019/04/12 13:08:32 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:32 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:33 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:33 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:33 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:33 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:33 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:33 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:33 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:33 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:33 INFO : jc-cache: Workers: 6
2019/04/12 13:08:33 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:33 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:33 DEBUG : union root ‘’: Mounting on “/mnt/HDD/Storage/Files”
2019/04/12 13:08:33 INFO : union root ‘’: poll-interval is not supported by this remote
2019/04/12 13:08:33 DEBUG : Adding path “vfs/forget” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “vfs/refresh” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “vfs/poll-interval” to remote control registry
2019/04/12 13:08:33 DEBUG : : Root:
2019/04/12 13:08:33 DEBUG : : >Root: node=/, err=
So somewhere along the way by changing options you recommended and removing some altogether, things seem to work now. Just wish I knew which option was causing this problem in the first place.