I’ve more or less been unable to get the caching feature working in my testing. I have a google drive remote (non-crypt for now) that I’ve wrapped the cache around. When I attempt to access files in the cache, I get lots of low level retries and then failures. When I access the original non-cached one it seems to work just fine so I do not think this is a gdrive issue. I’ve tried different cache sizes (below was large for 200M but i’ve tried smaller too) just to play with and i’ve set actual times for the ages rather than the defaults but I’ve yet to actually download a file from the cached mount.
[robgd]
type = drive
[robgsc]
type = cache
remote = robgs:cams
chunk_size = 200M
info_age =
chunk_age =
warmup_age =
HS -> env | grep RCLO
RCLONE_TRANSFERS=64
RCLONE_BUFFER_SIZE=0M
RCLONE_CHECKERS=64
RCLONE_RETRIES=5
RCLONE_STATS=0
RCLONE_DRIVE_USE_TRASH=false
RCLONE_TIMEOUT=10m
RCLONE_LOG_LEVEL=INFO
RCLONE_CONFIG=/home/robert/.rclone.conf
/usr/sbin/rclone -vv --cache-workers=2 mount robgsc: /home/robert/camc --allow-other --default-permissions --gid $gid --uid $uid --dir-cache-time=1m --umask $UMASK
HS -> cp 01_20171107234210000.MP4 ~/
2017/11/20 10:57:13 DEBUG : frontyard/20171107/: Lookup: name=“01_20171107234210000.MP4”
2017/11/20 10:57:13 DEBUG : frontyard/20171107/: >Lookup: node=frontyard/20171107/01_20171107234210000.MP4, err=
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: Attr:
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: >Attr: a=valid=1m0s ino=0 size=458316208 mode=-rw-rw-r–, err=
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: Open: flags=OpenReadOnly
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: Open: flags=O_RDONLY|O_CREATE
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: >Open: fd=frontyard/20171107/01_20171107234210000.MP4 ®, err=
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: >Open: fh=&{frontyard/20171107/01_20171107234210000.MP4 ®}, err=
2017/11/20 10:57:13 DEBUG : &{frontyard/20171107/01_20171107234210000.MP4 ®}: Read: len=131072, offset=0
2017/11/20 10:57:13 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:57:14 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:57:15 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:57:16 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 1/10: EOF
2017/11/20 10:57:16 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:57:22 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:57:22 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:57:22 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:57:23 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:57:24 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:57:25 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 2/10: EOF
2017/11/20 10:57:25 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:57:31 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:57:31 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:57:31 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:57:32 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:57:33 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:57:34 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 3/10: EOF
2017/11/20 10:57:34 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:57:40 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:57:40 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:57:40 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:57:41 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:57:42 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:57:43 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 4/10: EOF
2017/11/20 10:57:43 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:57:49 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:57:49 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:57:49 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:57:50 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:57:51 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:57:52 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 5/10: EOF
2017/11/20 10:57:52 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:57:58 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:57:58 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:57:58 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:57:59 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:58:00 DEBUG : /: Attr:
2017/11/20 10:58:00 DEBUG : /: >Attr: attr=valid=1m0s ino=0 size=0 mode=drwxrwxr-x, err=
2017/11/20 10:58:00 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:58:01 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 6/10: EOF
2017/11/20 10:58:01 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:58:07 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:58:07 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:58:07 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:58:08 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:58:09 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:58:10 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 7/10: EOF
2017/11/20 10:58:10 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:58:16 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:58:16 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:58:16 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:58:17 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:58:18 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:58:19 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 8/10: EOF
2017/11/20 10:58:19 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:58:25 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:58:25 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:58:25 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:58:26 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:58:27 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:58:28 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 9/10: EOF
2017/11/20 10:58:28 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:58:34 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:58:34 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:58:34 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:58:35 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:58:36 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:58:37 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: low level retry 10/10: EOF
2017/11/20 10:58:37 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.seek from 0 to 0
2017/11/20 10:58:43 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:58:43 DEBUG : frontyard/20171107/01_20171107234210000.MP4: moving offset set from 0 to 0
2017/11/20 10:58:43 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 0
2017/11/20 10:58:44 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 1
2017/11/20 10:58:45 DEBUG : frontyard/20171107/01_20171107234210000.MP4: 0: chunk retry storage: 2
2017/11/20 10:58:46 ERROR : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Read error: EOF
2017/11/20 10:58:46 DEBUG : &{frontyard/20171107/01_20171107234210000.MP4 ®}: >Read: read=0, err=
2017/11/20 10:58:46 DEBUG : &{frontyard/20171107/01_20171107234210000.MP4 ®}: Flush:
2017/11/20 10:58:46 DEBUG : &{frontyard/20171107/01_20171107234210000.MP4 ®}: >Flush: err=
2017/11/20 10:58:46 DEBUG : &{frontyard/20171107/01_20171107234210000.MP4 ®}: Release:
2017/11/20 10:58:46 DEBUG : frontyard/20171107/01_20171107234210000.MP4: ReadFileHandle.Release closing
✓ robert [~/camc/frontyard/20171107] $
HS -> 2017/11/20 10:58:52 DEBUG : frontyard/20171107/01_20171107234210000.MP4: cache reader closed 0
2017/11/20 10:58:52 DEBUG : &{frontyard/20171107/01_20171107234210000.MP4 ®}: >Release: err=
2017/11/20 10:59:16 DEBUG : /: Attr:
2017/11/20 10:59:16 DEBUG : /: >Attr: attr=valid=1m0s ino=0 size=0 mode=drwxrwxr-x, err=
2017/11/20 11:00:17 DEBUG : worker-0 <01_20171107234210000.MP4>: downloaded chunk 0
2017/11/20 11:01:13 DEBUG : worker-1 <01_20171107234210000.MP4>: downloaded chunk 200M