using rclone mount with the vfs cache on disk, and when it fills, it becomes unusable (isn't clearing space anymore). perhaps I have bad cmd line options?
What is your rclone version (output from rclone version)
$ rclone version
rclone v1.55.1
os/type: linux
os/arch: amd64
go/version: go1.16.3
go/linking: static
go/tags: none
Which OS you are using and how many bits (eg Windows 7, 64 bit)
ubuntu 21.04
Which cloud storage system are you using? (eg Google Drive)
gdrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
don't have vv log, but can see issues here that its out of space
2021/04/30 09:13:59 ERROR : <dir>/<file>: vfs cache: failed to open item: vfs cache item: open mkdir failed: make cache directory failed: mkdir /home/spotter/rclone-cache/vfs/gcrypt/<dir>: no space left on device
2021/04/30 09:13:59 ERROR : <dir>: vfs cache: failed to open item: vfs cache item: open mkdir failed: make cache directory failed: mkdir /home/spotter/rclone-cache/vfs/gcrypt/<dir>: no space left on device
can see storage is fully used up
$ df -h /home/spotter/rclone-cache/
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 734G 734G 0 100% /home/spotter/rclone-cache
Nothing else is using the drive. It's an oracle f80 completely dedicated to being the rclone cache. (22+pbw endurance should cause it to not die when used as a cache).
So nothing obvious in my cmd line then? Ok, guess I'll have to restart it and see how it works with verbose logging. Any recommendations on what I should change my cmd line to?
I'd say in my case, once it hits the limit, it never cleans up. I'll try to run with -vv in the next few days when I'm back at the box and can stop and restart everything.
so still not having problems, (removed the -vv, but kept logging at normal level not just ERROR). With all that said, I thin its problematic if the device fills up and rclone mount begins to choke. if a cache operation fails due to to ENOSPC it should automatically try to clear some space, IMO.
I have similar issues. I have Plex running using rclone mount readonly and many times now I find I have to reboot my whole system (running on AWS) and when I log back in the cache is at 100% (actually 1 Gb bigger than my max). I clean the cache by hand (using rm -fr) restart rclone and Plex and then the same thing happens again and again.
perhaps remove --vfs-cache-max-age and use the default value.
if you are limited in free space, have you tried without using a vfs cache.
often it is not needed to stream media
The max size can go over as it's not a hard limit and you also, included no log file either so it's impossible to tell you why.
The majority of time, folks have cache sizes set to small for what they are trying to accomplish and do not give it the proper space needed to function.
If you'd like to share a log file, it's easy to answer.