Large tar file kept in cache for very long (despite appearing uploaded)

What is the problem you are having with rclone?

Very large tar file (>250GB) is not being deleted from the vfs cache that caches for an encrypted version of my google drive. On the drive, the file appears to be fully uploaded, but the file is still in the cache and being used by rclone (confirmed by using lsof)

What is your rclone version (output from rclone version)

rclone v1.51.0

  • os/arch: linux/amd64

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 18.04.4, 64 bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

the command is the one I am running to keep the drive mounted.

rclone mount encryptgoogle:/ /home/ellie/driveencrypted --daemon --umask 002 --file-perms 0775 --allow-other --cache-dir /home/ellie/encryptgooglecache --vfs-cache-mode writes

The rclone config contents with secrets removed.

[googledrive]
type = drive
client_id = don't spread
client_secret = my secrets
scope = drive
token = {"access_token":"My own token","token_type":"Bearer","refresh_token":"and my other token","expiry":"some date"}
root_folder_id = whatever this is
[encryptgoogle]                                                                                                                                                                                                                              type = crypt
remote = googledrive:/encrypted
filename_encryption = obfuscate
directory_name_encryption = false
password = averystrongpasswordthatyoullneverget

A log from the command with the -vv flag

As this is mounted and there is currently an operation running, I cannot run de -vv command. If anyone knows how to do that without unmounting the drive, I'll be happy to do that.

Paste  log here

Was it a file you were uploading?

That is probably to be expected

That is unexpected though. Rclone should close the file if it has finished with it. Any ideas what rclone is doing with it? If you had --rc enabled you could query rclone to see...

You can remove the file from the cache if you want - it won't give you any space back until rclone closes it though.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.