What is the problem you are having with rclone?
I am facing an issue with inaccessible data caused by "old" cache entries.
I think it happend during a rename of the folder by the application, but cannot proof it.
What is your rclone version (output from
- os/arch: linux/amd64
- go version: go1.15.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
SLES 12 SP5 64bit
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg
rclone copy /tmp remote:tmp)
/usr/bin/rclone mount --daemon --cache-dir /mnt/resource/rclonecache --track-renames --dir-cache-time 24h --attr-timeout 4m --vfs-write-back 5s --vfs-cache-mode full --transfers=16 --azureblob-upload-cutoff 32m --azureblob-chunk-size 32m --checksum --vfs-read-chunk-size 32m --vfs-read-chunk-size-limit 500m --multi-thread-cutoff=32m --multi-thread-streams=16 --vfs-cache-max-age 168h --vfs-cache-max-size 300g --allow-other --allow-non-empty --use-mmap --buffer-size 1
A log from the command with the
vfs cache: too many errors 11/10: last error: vfs reader: failed to write to cache file: failed to open for download: -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, github.com/Azurefirstname.lastname@example.org/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=BlobNotFound) =====
Description=The specified blob does not exist.
X-Ms-Date: [Wed, 06 Jan 2021 16:40:35 GMT]
RESPONSE Status: 404 The specified blob does not exist.
Date: [Wed, 06 Jan 2021 16:40:34 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
I have 2 directories on blob storage. Its cryptic so i just shorten the names:
The application did a rename from the old name to the new one. So i can find the files in the new directory on the blob storage.
But I cannot access the files through rclone.
The issue is, when i try to access the files through the rclone mount on new_1607547325_1607503210_277_727039C7-35B7-48EF-8BB8-D0C4A37F47B4
rclone tries to search in the old folder. The old folder still exists but does not have the files.
When i try to access the data I get the above error message with the folder old_1607547325_1607503210_277_727039C7-35B7-48EF-8BB8-D0C4A37F47B4
For sure it cannot find the files cause they are not at the blob storage.
Rclone seems to have a wrong "link". I want to access the files in the new folder and it redirects me to the old folder.
- Could it be related to the --track-renames flag? Does azure blob support this?
- Do i have the possibility to check the cache somehow, why it is pointing to the old directory?
- Can i purge the cache without restarting rclone?
So from my point of view, the copy/rename/transfer to blob worked properly, the data is consistent on the storage in the new directory, but rclone is still pointing to the old one, so i cannot access the data.
Unfortunatly that is happing not very often, so its hard to reproduce. I will try to setup a test machine anyhow to get some more details.
Hope you can point me to the right direction here.