What is the problem you are having with rclone?
I'm using fix-vfs-empty-dirs branch. Been working perfectly. A few days ago I added some 5-6GB files to the mount. I tried to play these files today, but the media player immediately errored out (a generic cannot play file error).
When I inspected Rclone's cache directory, I noticed that these files were no longer cached, and they were completely uploaded to B2. It was a little weird because other files (older and newer than these) were still cached. I thought "okay, it's a bug where rclone can't play files that were evicted from cache".
Then I looked closer, and noticed that rclone actually can read other files that are evicted. However, all of them take at least a few kb of space in the cache (or they aren't in the cache at all). On the other hand, the broken files show up as 0 bytes on disk in the cache dir. Not 4kb, not 1mb, just 0. Could this be the issue?
Extra detail: when I first ran into this, it seemed none of the files were working. I restarted the rclone mount. After that, only 0 bytes files weren't working, but others work. I can't tell if this was a one-time anomaly. Prior to adding these 5gb/6gb new files, everything always worked without issues.
Extra detail 2: If I just mount rclone on my Mac directly to B2 (no vfs), I can play these files just fine in media players. Only linux box with full-cache VFS has this issue.
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.0-beta.6591.3f77e5648.fix-vfs-empty-dirs
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-58-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
B2
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/bin/rclone mount B2:BucketName/Dir /home/user/MountedDir \
--allow-other \
--b2-chunk-size 50M \
--b2-hard-delete \
--buffer-size 64M \
--bwlimit "07:00,1M:off 23:45,off" \
--cache-dir /home/user/RCloneCache \
--config /home/user/.config/rclone/rclone.conf \
--dir-cache-time 87600h \
--disable-http2 \
--fast-list \
--log-level DEBUG \
--poll-interval 0 \
--transfers 16 \
--use-mmap \
--vfs-cache-max-age 8760h \
--vfs-cache-max-size 1400G \
--vfs-cache-mode full \
--vfs-write-back 15m \
--vfs-read-ahead 200M \
--vfs-read-chunk-size-limit 500M \
--rc \
--rc-no-auth
The rclone config contents with secrets removed.
[B2]
type = b2
account = [censored]
key = [censored]
endpoint =
A log from the command with the -vv
flag
I am running the mount with debug log as a systemd unit, so there are thousands of lines in systemd journal. Hard to choose unless I know what to look for.